File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -1254,7 +1254,7 @@ blockquote p:last-child {
12541254}
12551255
12561256/* Maintain the split column for as long as possible */
1257- @media (min-width : 88 rem ) {
1257+ @media (min-width : 67 rem ) {
12581258 blockquote .side-callout {
12591259 grid-column : 2 !important ;
12601260 align-self : start;
Original file line number Diff line number Diff line change @@ -52,3 +52,14 @@ document.addEventListener('DOMContentLoaded', () => {
5252 } ) ;
5353 }
5454} ) ;
55+
56+ window . addEventListener ( 'resize' , ( ) => {
57+ const sidebar = document . getElementById ( 'sidebar-v2' ) ;
58+
59+ if (
60+ window . innerWidth > 88 * 16 &&
61+ sidebar . classList . contains ( 'sidebar__mobile-open' )
62+ ) {
63+ sidebar . classList . remove ( 'sidebar__mobile-open' ) ;
64+ }
65+ } ) ;
You can’t perform that action at this time.
0 commit comments