File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 3737
3838// Additional variables
3939$table-border-color : $grey-lt-300 ;
40- $toc-width : 232 px !default ;
40+ $toc-width : 200 px !default ;
4141
4242// Replaces xl size
4343$media-queries : (
@@ -225,9 +225,10 @@ p.label {
225225
226226// Modifies margins in xl layout to support TOC
227227.side-bar {
228+ flex-shrink : 0 ;
229+
228230 @include mq (xl) {
229- width : calc ((100% - #{$nav-width + $content-width + $toc-width } ) / 2 + #{$nav-width } );
230- min-width : $nav-width ;
231+ width : $nav-width ;
231232 }
232233}
233234
@@ -280,7 +281,7 @@ p.label {
280281 list-style-type : none ;
281282 background-color : $sidebar-color ;
282283 padding : $sp-6 $sp-4 ;
283- margin-left : $sp-6 ;
284+ // margin-left: $sp-6;
284285 margin-right : 0 ;
285286 margin-bottom : 0 ;
286287 overflow : auto ;
@@ -432,6 +433,7 @@ main {
432433
433434 @include mq (xl) {
434435 overflow : visible ;
436+ max-width : calc (100vw - #{$nav-width } - #{$toc-width } - 2rem );
435437 }
436438 }
437439}
You can’t perform that action at this time.
0 commit comments