Skip to content

Commit d5e9573

Browse files
committed
fix(Input): padding reversed when select arrow translate 180
1 parent d717e96 commit d5e9573

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/input/main.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@
183183
top: 0;
184184
}
185185

186-
> *:not(:first-child) {
187-
padding-left: $s-1;
186+
> *:not(:last-child) {
187+
padding-right: $s-1;
188188
}
189189

190190
.#{$css-prefix}icon {

src/input/rtl.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
}
2121

2222
#{$input-prefix}-control {
23-
> *:not(:first-child) {
24-
padding-right: $s-1;
25-
padding-left: 0;
23+
> *:not(:last-child) {
24+
padding-left: $s-1;
25+
padding-right: 0;
2626
}
2727
}
2828
}

0 commit comments

Comments
 (0)