mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +08:00
style: optimized InputNumber handler show in rtl (#32272)
This commit is contained in:
parent
f9edeb8122
commit
4054c767cd
@ -9,13 +9,16 @@
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
&-handler-wrap {
|
||||
&-handler {
|
||||
.@{input-number-prefix-cls}-rtl & {
|
||||
border-right: @border-width-base @border-style-base @input-number-handler-border-color;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
&-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-number-prefix-cls}-rtl.@{input-number-prefix-cls}-borderless & {
|
||||
@ -23,6 +26,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
&-up {
|
||||
.@{input-number-prefix-cls}-rtl & {
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&-down {
|
||||
.@{input-number-prefix-cls}-rtl & {
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-input {
|
||||
.@{input-number-prefix-cls}-rtl & {
|
||||
direction: ltr;
|
||||
|
Loading…
Reference in New Issue
Block a user