mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 12:35:55 +00:00 
			
		
		
		
	adjustments for bookmarks toolbar item sizing
This fixes an issue with Firefox 108 where an empty "placeholder" space would appear below tabs toolbar.
This commit is contained in:
		
							parent
							
								
									4918f31c82
								
							
						
					
					
						commit
						0c0ba80f0b
					
				
					 2 changed files with 3 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -9,7 +9,6 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
:root[uidensity="compact"] #navigator-toolbox{
 | 
			
		||||
  --uc-bm-padding: 1px;
 | 
			
		||||
  --uc-navbar-height: -34px;
 | 
			
		||||
}
 | 
			
		||||
:root[uidensity="touch"] #navigator-toolbox{ --uc-bm-padding: 6px }
 | 
			
		||||
| 
						 | 
				
			
			@ -44,17 +43,7 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
:root[sessionrestored]:not([customizing]) #navigator-toolbox{
 | 
			
		||||
  margin-bottom:  calc(0px - var(--uc-bm-height) + var(--uc-navbar-height));
 | 
			
		||||
}
 | 
			
		||||
#PlacesToolbarItems > .bookmark-item {
 | 
			
		||||
  min-height: calc(var(--uc-bm-height) - 4px); /* Bookmarks have 2px block margin */
 | 
			
		||||
  padding-block: 0px !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#OtherBookmarks,
 | 
			
		||||
#PlacesChevron,
 | 
			
		||||
#PersonalToolbar > #import-button{
 | 
			
		||||
  padding-block: var(--uc-bm-padding) !important;
 | 
			
		||||
  margin-bottom:  calc(-1px - var(--uc-bm-height) + var(--uc-navbar-height));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Make sure the bookmarks toolbar is never collapsed even if it is disabled */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,7 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
 | 
			
		||||
#PersonalToolbar{
 | 
			
		||||
  --uc-bm-height: 20px; /* Might need to adjust if the toolbar has other buttons */
 | 
			
		||||
  --uc-bm-padding: 7px; /* Vertical padding to be applied to bookmarks */
 | 
			
		||||
  --uc-bm-padding: 4px; /* Vertical padding to be applied to bookmarks */
 | 
			
		||||
  --uc-autohide-toolbar-delay: 600ms; /* The toolbar is hidden after 0.6s */
 | 
			
		||||
  
 | 
			
		||||
  /* 0deg = "show" ; 90deg = "hide" ;  Set the following to control when bookmarks are shown */
 | 
			
		||||
| 
						 | 
				
			
			@ -11,12 +11,11 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
  --uc-autohide-toolbar-hover-rotation: 0deg; /* cursor is over the toolbar area */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
:root[uidensity="compact"] #PersonalToolbar{ --uc-bm-padding: 1px; }
 | 
			
		||||
:root[uidensity="touch"] #PersonalToolbar{ --uc-bm-padding: 7px }
 | 
			
		||||
 | 
			
		||||
#PersonalToolbar:not([customizing]){
 | 
			
		||||
  position: relative;
 | 
			
		||||
  margin-bottom: calc(0px - var(--uc-bm-height) - 2 * var(--uc-bm-padding));
 | 
			
		||||
  margin-bottom: calc(-1px - var(--uc-bm-height) - 2 * var(--uc-bm-padding));
 | 
			
		||||
  transform: rotateX(90deg);
 | 
			
		||||
  transform-origin: top;
 | 
			
		||||
  transition: transform 135ms linear var(--uc-autohide-toolbar-delay) !important;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue