File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed 
src/librustdoc/html/static/css Expand file tree Collapse file tree 1 file changed +5
-5
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. */ 
@@ -386,7 +387,7 @@ img {
386387	height :  100vh  ;
387388	top :  0 ;
388389	left :  0 ;
389- 	z-index :  100 ;
390+ 	z-index :  var ( --desktop-sidebar-z-index ) ;
390391}
391392
392393.rustdoc .src  .sidebar  {
@@ -407,7 +408,7 @@ img {
407408	touch-action :  none;
408409	width :  9px  ;
409410	cursor :  col-resize;
410- 	z-index :  200 ;
411+ 	z-index :  calc ( var ( --desktop-sidebar-z-index )  +   1 ) ;
411412	position :  fixed;
412413	height :  100%  ;
413414	/* make sure there's a 1px gap between the scrollbar and resize handle */ 
@@ -439,7 +440,6 @@ img {
439440
440441.sidebar-resizing  .sidebar  {
441442	position :  fixed;
442- 	z-index :  100 ;
443443}
444444.sidebar-resizing  >  body  {
445445	padding-left :  var (--resizing-sidebar-width );
@@ -1046,7 +1046,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
10461046	position :  absolute;
10471047	top :  100%  ;
10481048	right :  0 ;
1049- 	z-index :  101 ;
1049+ 	z-index :  calc ( var ( --desktop-sidebar-z-index )  +   1 ) ;
10501050	margin-top :  7px  ;
10511051	border-radius :  3px  ;
10521052	border :  1px   solid var (--border-color );
@@ -1561,7 +1561,7 @@ a.tooltip:hover::after {
15611561}
15621562.src  # sidebar-button  {
15631563	left :  8px  ;
1564- 	z-index :  101 ;
1564+ 	z-index :  calc ( var ( --desktop-sidebar-z-index )  +   1 ) ;
15651565}
15661566.hide-sidebar  .src  # sidebar-button  {
15671567	position :  static;
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments