mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +00:00 
			
		
		
		
	autohide_sidebar: create sidebar-header padding using pseudo-elements.
This works around a layout issue where header inline-padding prevents it from collapsing to zero-width in fullscreen mode.
This commit is contained in:
		
							parent
							
								
									bf81ba74fb
								
							
						
					
					
						commit
						b08805185f
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -28,6 +28,14 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
#sidebar-header{
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
  color: var(--chrome-color, inherit) !important;
 | 
			
		||||
  padding-inline: 0 !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#sidebar-header::before,
 | 
			
		||||
#sidebar-header::after{
 | 
			
		||||
  content: "";
 | 
			
		||||
  display: -moz-box;
 | 
			
		||||
  padding-left: 8px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#sidebar-switcher-target{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue