Skip to content

Commit

Permalink
Fix: Bookmarkbar - Multirow compatibility #830
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Dec 2, 2023
1 parent 2180481 commit 431d32e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions css/leptonChrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion css/leptonChromeESR.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/bookmarkbar/_multi_row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}

Expand Down

0 comments on commit 431d32e

Please sign in to comment.