File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -464,6 +464,8 @@ aside .material-icons,
464
464
margin : 1em 1em 0 0 ;
465
465
}
466
466
467
+ /* TODO: Add a blurry mask to the begin and end of the first ul inside the div in the sidebar when there is overflow in this direction */
468
+
467
469
# sidebar ul {
468
470
list-style : none;
469
471
margin : 1em 2em 2em 1em ;
@@ -790,13 +792,13 @@ main ol ol {
790
792
}
791
793
792
794
main ol > li {
793
- list-style : none;
794
795
margin : 0 0 0 1.9em ;
795
796
padding : 2px 1px ;
796
797
position : relative;
797
798
}
798
799
799
800
main ol > li ::before {
801
+ display : none;
800
802
content : counter (li) "." ;
801
803
counter-increment : li;
802
804
top : -2px ;
@@ -1319,13 +1321,13 @@ div.code-block-caption {
1319
1321
}
1320
1322
1321
1323
# sidebar {
1322
- display : inline-block ;
1324
+ display : grid ;
1323
1325
position : sticky;
1324
1326
top : 1em ;
1325
1327
max-height : calc (100vh - 2em );
1326
1328
overflow-y : auto;
1327
1329
margin : 1em ;
1328
- width : -webkit-fill-available ;
1330
+ width : auto ;
1329
1331
}
1330
1332
1331
1333
# sidebar a {
You can’t perform that action at this time.
0 commit comments