mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
b032344d81
* style: add checkout grop RTL * style: add rtl.less * fix: add test * fix: add group test * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: 偏右 <afc163@gmail.com>
23 lines
493 B
Plaintext
23 lines
493 B
Plaintext
@import '../../style/mixins/index';
|
|
|
|
.antCheckboxFn(@checkbox-prefix-cls: ~'@{ant-prefix}-checkbox') {
|
|
.@{checkbox-prefix-cls}-group {
|
|
&-item {
|
|
.@{checkbox-prefix-cls}-group-rtl & {
|
|
margin-right: 0;
|
|
margin-left: 8px;
|
|
}
|
|
&:last-child {
|
|
.@{checkbox-prefix-cls}-group-rtl & {
|
|
margin-left: 0 !important;
|
|
}
|
|
}
|
|
}
|
|
&-item + &-item {
|
|
.@{checkbox-prefix-cls}-group-rtl & {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
}
|
|
}
|