File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414 and on the RUSTDOC_MOBILE_BREAKPOINT */
1515 --desktop-sidebar-width : 200px ;
1616 --src-sidebar-width : 300px ;
17+ --desktop-sidebar-z-index : 100 ;
1718}
1819
1920/* See FiraSans-LICENSE.txt for the Fira Sans license. */
@@ -396,7 +397,7 @@ img {
396397 height : 100vh ;
397398 top : 0 ;
398399 left : 0 ;
399- z-index : 100 ;
400+ z-index : var ( --desktop-sidebar-z-index ) ;
400401}
401402
402403.rustdoc .src .sidebar {
@@ -416,7 +417,7 @@ img {
416417 touch-action : none;
417418 width : 9px ;
418419 cursor : col-resize;
419- z-index : 200 ;
420+ z-index : calc ( var ( --desktop-sidebar-z-index ) + 1 ) ;
420421 position : fixed;
421422 height : 100% ;
422423 /* make sure there's a 1px gap between the scrollbar and resize handle */
@@ -448,7 +449,6 @@ img {
448449
449450.sidebar-resizing .sidebar {
450451 position : fixed;
451- z-index : 100 ;
452452}
453453.sidebar-resizing > body {
454454 padding-left : var (--resizing-sidebar-width );
@@ -1059,7 +1059,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
10591059 position : absolute;
10601060 top : 100% ;
10611061 right : 0 ;
1062- z-index : 101 ;
1062+ z-index : calc ( var ( --desktop-sidebar-z-index ) + 1 ) ;
10631063 margin-top : 7px ;
10641064 border-radius : 3px ;
10651065 border : 1px solid var (--border-color );
You can’t perform that action at this time.
0 commit comments