mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +00:00 
			
		
		
		
	apply window margin to body > box instead of :root
This commit is contained in:
		
							parent
							
								
									cba88c0439
								
							
						
					
					
						commit
						2062bd2c4b
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -3,18 +3,18 @@
 | 
			
		|||
 | 
			
		||||
@media (-moz-os-version: windows-win10){
 | 
			
		||||
 | 
			
		||||
  :root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 10px !important; }
 | 
			
		||||
  :root[sizemode="maximized"] #navigator-toolbox{ margin-top: -2px }
 | 
			
		||||
  :root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 10px !important; }
 | 
			
		||||
  :root[tabsintitlebar][sizemode="maximized"] #navigator-toolbox{ margin-top: -2px }
 | 
			
		||||
 | 
			
		||||
  @media screen and (min-resolution: 1.25dppx){
 | 
			
		||||
    :root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 9px !important; }
 | 
			
		||||
    :root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 9px !important; }
 | 
			
		||||
  }
 | 
			
		||||
  @media screen and (min-resolution: 1.5dppx){
 | 
			
		||||
    :root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 8px !important; }
 | 
			
		||||
    :root[sizemode="maximized"] #navigator-toolbox{ margin-top: -1px }
 | 
			
		||||
    :root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 8px !important; }
 | 
			
		||||
    :root[tabsintitlebar][sizemode="maximized"] #navigator-toolbox{ margin-top: -1px }
 | 
			
		||||
  }
 | 
			
		||||
  @media screen and (min-resolution: 2dppx){
 | 
			
		||||
    :root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 7px !important; }
 | 
			
		||||
    :root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 7px !important; }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue