Autohide_bookmarks_toolbar: Provide fallback for --toolbar-bgimage

This fixes an issue where the background-image: would compute to none if
--toolbar-bgimage is missing.
This commit is contained in:
MrOtherGuy 2023-02-15 05:40:29 +02:00
parent 5facc2e8c9
commit b906186eb9

View file

@ -26,7 +26,7 @@ See the above repository for updates as well as full license text. */
--uc-bg-y: calc(-2 * (var(--tab-block-margin) + var(--toolbarbutton-inner-padding) + var(--toolbarbutton-outer-padding)) - var(--tab-min-height) - 16px - var(--bookmark-block-padding));
background-position: top left,top left,var(--lwt-background-alignment,top left);
background-position-y:top,top,var(--uc-bg-y),var(--uc-bg-y),var(--uc-bg-y);
background-image: var(--toolbar-bgimage), linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)),var(--lwt-header-image,var(--lwt-additional-images)) !important;
background-image: var(--toolbar-bgimage,linear-gradient(transparent,transparent)), linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)),var(--lwt-header-image,var(--lwt-additional-images)) !important;
}
#PlacesToolbarItems > .bookmark-item,