Skip to content

Commit

Permalink
Fix: Icons - Windows10/11 Bookmark Menu Padding
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Mar 1, 2023
1 parent ef7b96d commit 2fcd7d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 2 additions & 5 deletions css/leptonChrome.css

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

6 changes: 2 additions & 4 deletions src/icons/layout/_bookmark_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,9 @@ $_bookmarkToolbarMenus: selector.nest(
@include OS($win10) {
/* Bookmark Popup - None icon menu */
@include _layoutBookmarkMenu() {
--arrowpanel-bookmark-menuicon-padding: calc(var(--arrowpanel-menuicon-padding) - var(--arrowpanel-menuitem-margin-inline));

margin-inline-start: var(--arrowpanel-menuitem-margin-inline) !important;
padding-inline-start: calc(var(--arrowpanel-bookmark-menuicon-padding) + var(--context-menu-text-padding)) !important;
background-position: var(--uc-menu-background-position) var(--arrowpanel-bookmark-menuicon-padding) center !important;
padding-inline-start: calc(var(--arrowpanel-menuitem-padding-inline) + var(--context-menu-text-padding)) !important;
background-position: var(--uc-menu-background-position) var(--arrowpanel-menuitem-padding-inline) center !important;
}
}

Expand Down

0 comments on commit 2fcd7d3

Please sign in to comment.