ant-design/components/input-number/style/rtl.less
xrkffgg 1f79c76b80
style: add rtl.less of InputNumber (#22434)
* seyle: add rtl.less of InputNumber

* fix: snap
2020-03-20 14:43:32 +08:00

25 lines
593 B
Plaintext

@import '../../style/themes/index';
@import '../../style/mixins/index';
@import '../../input/style/mixin';
@input-number-prefix-cls: ~'@{ant-prefix}-input-number';
.@{input-number-prefix-cls} {
&-handler-wrap {
.@{input-number-prefix-cls}-rtl & {
right: auto;
left: 0;
border-right: @border-width-base @border-style-base @input-number-handler-border-color;
border-left: 0;
border-radius: @border-radius-base 0 0 @border-radius-base;
}
}
&-input {
.@{input-number-prefix-cls}-rtl & {
direction: rtl;
text-align: right;
}
}
}