Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 59e30a3

Browse files
committed
fix(select): support rtl direction
closes #1728
1 parent 5c889b7 commit 59e30a3

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/components/select/select.scss

+10-7
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ md-select {
7070
display: flex;
7171
align-items: center;
7272
padding-top: $baseline-grid + 1;
73-
padding-right: 4 * $baseline-grid;
7473
padding-bottom: $baseline-grid;
7574
border-bottom: 1px solid;
7675
font-size: 1em;
@@ -79,14 +78,18 @@ md-select {
7978
box-sizing: border-box;
8079
min-width: 8 * $baseline-grid;
8180

81+
.md-select-icon {
82+
align-items: flex-end;
83+
text-align: end;
84+
width: 3 * $baseline-grid;
85+
margin: 0 .5 * $baseline-grid;
86+
}
87+
8288
.md-select-icon:after {
89+
display: block;
8390
content: '\25BC';
84-
display: flex;
85-
align-items: center;
86-
position: absolute;
87-
height: 100%;
88-
top: 0px;
89-
right: 2px;
91+
position: relative;
92+
top: 2px;
9093
speak: none;
9194
transform: scaleY(0.6) scaleX(1);
9295
}

0 commit comments

Comments
 (0)