Skip to content

Commit 8a86cdf

Browse files
authored
Change flexbox direction for option elements
Rearrange the order of text and icon in option flexbox.
1 parent 1f6e87a commit 8a86cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/components/select/select.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171

7272
option {
7373
justify-content: space-between;
74+
7475
// change order of the included text and pseudo-element within this flexbox item, to make sure the icon is always on the right
7576
flex-direction: row-reverse;
7677

@@ -81,7 +82,6 @@
8182
/* stylelint-disable-next-line selector-pseudo-element-no-unknown */
8283
:is(&::checkmark) {
8384
@extend %icon;
84-
8585
@include icons.icon-content("check");
8686
}
8787
}

0 commit comments

Comments
 (0)