Add compatibility layer for autohide + multi-row bookmarks toolbar

This commit is contained in:
MrOtherGuy
2020-01-18 22:04:18 +02:00
parent 68a14dc4cd
commit aa9dddaccf
2 changed files with 20 additions and 8 deletions

View File

@@ -14,7 +14,8 @@
#PlacesToolbarItems{
display: flex;
flex-wrap: wrap;
max-height: calc(var(--multirow-bmb-n-rows) * (6px + 1em + (2 * var(--multirow-bmb-row-margin))) + 2px) !important;
/* --uc-bm-padding is defined in autohide_bookmarks_toolbar.css */
max-height: calc(var(--multirow-bmb-n-rows) * (5px + 1em + (2 * (var(--multirow-bmb-row-margin) + var(--uc-bm-padding,2px))))) !important;
overflow-y:auto;
scrollbar-color: var(--lwt-accent-color) var(--toolbar-bgcolor) ;
scrollbar-width: thin;