ant-design/components/checkbox/style/rtl.less
xrkffgg b032344d81
style: add checkout grop RTL (#22186)
* 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>
2020-03-13 15:09:40 +08:00

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;
}
}
}
}