File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
static/app/components/globalDrawer Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,11 @@ const DrawerContainer = styled('div')`
187187 inset: 0;
188188 z-index: ${ p => p . theme . zIndex . drawer } ;
189189 pointer-events: none;
190+
191+ @media (max-width: ${ p => p . theme . breakpoints . sm } ) {
192+ overflow-x: auto;
193+ pointer-events: auto;
194+ }
190195` ;
191196
192197const DrawerSlidePanel = styled ( SlideOverPanel ) `
@@ -206,6 +211,17 @@ const DrawerSlidePanel = styled(SlideOverPanel)`
206211 var(--drawer-max-width)
207212 ) !important;
208213
214+ @media (max-width: ${ p => p . theme . breakpoints . sm } ) {
215+ top: 0;
216+ bottom: 0;
217+ left: 0;
218+ right: 0;
219+ border: none;
220+ box-shadow: none;
221+ /* Without this, the base SlideOverPanel's overscroll-behavior: contain blocks horizontal scroll chaining. */
222+ overscroll-behavior-x: auto;
223+ }
224+
209225 &[data-resizing] {
210226 /* Hide scrollbars during resize */
211227 overflow: hidden !important;
You can’t perform that action at this time.
0 commit comments