fake statusbar w bookmarks: invent a new css variable to control height
Old method was based on toolbarbutton-inner-padding but that has way too much variability between setups to be consistent
This commit is contained in:
@@ -11,10 +11,15 @@ See the above repository for updates as well as full license text. */
|
||||
/* Toolbar buttons/items will be aligned to the right edge of the loading bar. If you wish to align them to the right edge, then add another flex-space after the first one */
|
||||
|
||||
:root:not([inFullscreen]) > body{
|
||||
--uc-browser-base-padding: calc(2 * var(--toolbarbutton-inner-padding) + 16px);
|
||||
--uc-statusbar-button-padding: 4px;
|
||||
--uc-browser-base-padding: calc(2 * var(--uc-statusbar-button-padding) + 16px + 4px);
|
||||
--uc-statusbar-text-vertical-position: 5px;
|
||||
}
|
||||
|
||||
#PersonalToolbar .toolbarbutton-1{
|
||||
--toolbarbutton-inner-padding: var(--uc-statusbar-button-padding) !important;
|
||||
}
|
||||
|
||||
:root[uidensity="compact"]:not([inFullscreen]) > body{
|
||||
--uc-statusbar-text-vertical-position: 3px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user