diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 0e9f855e..19cde4a1 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -8478,6 +8478,7 @@ --uc-multirow-bookmark-rows: 3; --uc-multirow-bookmark-row-margin: 2px; max-height: none !important; + height: unset !important; } #PlacesToolbar > hbox { display: block; @@ -8491,7 +8492,7 @@ max-height: calc( var(--uc-multirow-bookmark-rows) * ( - var(--uc-bm-height, calc(20px + 2 * var(--bookmark-block-padding, 4px))) + 2 * + var(--uc-bm-height, calc(20px + var(--bookmark-block-padding, 4px))) + 2 * var(--uc-multirow-bookmark-row-margin) ) ) !important; @@ -22502,6 +22503,7 @@ --uc-multirow-bookmark-rows: 3; --uc-multirow-bookmark-row-margin: 2px; max-height: none !important; + height: unset !important; } #PlacesToolbar > hbox { display: block; @@ -22515,7 +22517,7 @@ max-height: calc( var(--uc-multirow-bookmark-rows) * ( - var(--uc-bm-height, calc(20px + 2 * var(--bookmark-block-padding, 4px))) + 2 * + var(--uc-bm-height, calc(20px + var(--bookmark-block-padding, 4px))) + 2 * var(--uc-multirow-bookmark-row-margin) ) ) !important; diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index f5c88fac..542aa601 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -8887,6 +8887,7 @@ --uc-multirow-bookmark-rows: 3; --uc-multirow-bookmark-row-margin: 2px; max-height: none !important; + height: unset !important; } #PlacesToolbar > hbox { display: block; @@ -8900,7 +8901,7 @@ max-height: calc( var(--uc-multirow-bookmark-rows) * ( - var(--uc-bm-height, calc(20px + 2 * var(--bookmark-block-padding, 4px))) + 2 * + var(--uc-bm-height, calc(20px + var(--bookmark-block-padding, 4px))) + 2 * var(--uc-multirow-bookmark-row-margin) ) ) !important; diff --git a/src/bookmarkbar/_multi_row.scss b/src/bookmarkbar/_multi_row.scss index 06dbd38f..dc653c49 100644 --- a/src/bookmarkbar/_multi_row.scss +++ b/src/bookmarkbar/_multi_row.scss @@ -5,6 +5,7 @@ --uc-multirow-bookmark-rows: 3; --uc-multirow-bookmark-row-margin: 2px; max-height: none !important; + height: unset !important; // var(--bookmarks-toolbar-overlapping-browser-height) } #PlacesToolbar > hbox { @@ -18,7 +19,7 @@ overflow-y: auto; scroll-snap-type: y mandatory; max-height: calc(var(--uc-multirow-bookmark-rows) * - (var(--uc-bm-height, calc(20px + (2 * var(--bookmark-block-padding, 4px)))) + + (var(--uc-bm-height, calc(20px + var(--bookmark-block-padding, 4px))) + (2 * var(--uc-multirow-bookmark-row-margin)))) !important; }