Fix missing icons in menulists on Windows (#4305)

Only set display: none on the icon element when we actually don't have
an icon to show.
This commit is contained in:
Abe Jellinek 2024-07-02 00:46:34 -04:00 committed by GitHub
parent 390b65f2ab
commit 1bb7862114
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,12 +55,12 @@ menupopup {
menu:not([icon], .menu-iconic),
menuitem:not([checked="true"], [icon], .menuitem-iconic) {
padding-inline-start: 36px;
}
menuitem {
.menu-iconic-icon {
display: none;
}
}
menuitem[selected="true"] {
padding-inline-start: 12px !important;