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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user