mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
fix:border-style for inputNumber addon when rtl (#35876)
This commit is contained in:
parent
a5074efcb0
commit
1bae50c6be
@ -46,3 +46,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://github.com/ant-design/ant-design/issues/35870
|
||||||
|
.input-group(@input-number-prefix-cls) {
|
||||||
|
> .@{input-number-prefix-cls}-rtl:first-child {
|
||||||
|
border-radius: 0 @border-radius-base @border-radius-base 0;
|
||||||
|
}
|
||||||
|
> .@{input-number-prefix-cls}-rtl:last-child {
|
||||||
|
border-radius: @border-radius-base 0 0 @border-radius-base;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-addon {
|
||||||
|
.@{input-number-prefix-cls}-group-rtl &:first-child {
|
||||||
|
border-right: @border-width-base @border-style-base @input-border-color;
|
||||||
|
border-left: 0;
|
||||||
|
border-radius: 0 @border-radius-base @border-radius-base 0;
|
||||||
|
}
|
||||||
|
.@{input-number-prefix-cls}-group-rtl &:last-child {
|
||||||
|
border-right: 0;
|
||||||
|
border-left: @border-width-base @border-style-base @input-border-color;
|
||||||
|
border-radius: @border-radius-base 0 0 @border-radius-base;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -102,6 +102,7 @@
|
|||||||
.@{inputClass}-group-rtl & {
|
.@{inputClass}-group-rtl & {
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
border-left: @border-width-base @border-style-base @input-border-color;
|
border-left: @border-width-base @border-style-base @input-border-color;
|
||||||
|
border-radius: @border-radius-base 0 0 @border-radius-base;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user