Skip to content

Commit

Permalink
Fix: Icons - Mac addon overflow menu #847
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jan 7, 2024
1 parent 6f4f8d6 commit 7f354b1
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 0 deletions.
56 changes: 56 additions & 0 deletions css/leptonChrome.css

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

26 changes: 26 additions & 0 deletions css/leptonChromeESR.css

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

25 changes: 25 additions & 0 deletions src/icons/layout/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,29 @@ $_layoutCommonMenus: (
list-style-image: var(--menuitem-image, url("../icons/blank.svg")) !important;
}
}

/* Exeptions */
// Mac unified extenstions #847
#unified-extensions-context-menu > menuitem::before {
padding-inline: 0 !important;
}

:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup:not(.in-menulist) > menuitem {
&:not(.menuitem-iconic, .bookmark-item, .in-menulist, [checked="true"]) {
padding-inline-start: 0 !important;
}

&:not(.menuitem-iconic):has(.menu-iconic-left) {
&[checked] {
padding-left: 4px !important;
background-image: none !important;
}
&[checked="true"] {
padding-left: calc(var(--context-menu-mac-padding) - 8px) !important;
.menu-iconic-text {
padding-left: 8px !important;
}
}
}
}
}

0 comments on commit 7f354b1

Please sign in to comment.