Skip to content

Commit 2da0328

Browse files
authored
Add a default color to dropdown menu items so that the ellipsis shows up (#13612)
.DropdownMenu-items sets a white background, so setting a contrasting color as well ensures text is shown correctly even when the parent would set a white color. This didn't affect links and section headers which sets their own color but was affecting the '...' ellipsis text that is triggered when the menu item is too long, which happens in some locales.
1 parent 7ec58f5 commit 2da0328

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/amo/components/DropdownMenu/styles.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
border: 0;
7373
border-radius: $border-radius-default;
7474
box-shadow: 0 0 2px transparentize($black, 0.5);
75+
color: $grey-90;
7576
display: none;
7677
list-style-type: none;
7778
margin: 0;

0 commit comments

Comments
 (0)