Skip to content

Commit dda1dab

Browse files
committed
fix: Fixed menu items being missaligned on windows, b=(closes #8590), c=no-component
1 parent fbf411c commit dda1dab

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/toolkit/themes/shared/menu.css b/toolkit/themes/shared/menu.css
2+
index ecf66f30b2dd18765af467913bb0bc66a8d36a41..6b58db0c1590b0151a3e169b75d4d2ee19db912c 100644
3+
--- a/toolkit/themes/shared/menu.css
4+
+++ b/toolkit/themes/shared/menu.css
5+
@@ -345,7 +345,7 @@ menuitem[highlightable] > .menu-text {
6+
/* On macOS and Windows, empty icons shouldn't take up any space */
7+
menuitem:not(.menuitem-iconic, [image]) > &,
8+
menu:not(.menu-iconic) > & {
9+
- display: none;
10+
+
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)