Browse Source
Merge pull request #22260 from ant-design/fix-rtl-less-button
style: fix button rtl.less
pull/22263/head
xrkffgg
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
components/button/style/mixin.rtl.less
|
|
@ -1,4 +1,10 @@ |
|
|
|
.btn-group(@btnClassName: btn) { |
|
|
|
.@{btnClassName} + .@{btnClassName}, |
|
|
|
.@{btnClassName} + &, |
|
|
|
span + .@{btnClassName}, |
|
|
|
.@{btnClassName} + span, |
|
|
|
> span + span, |
|
|
|
& + .@{btnClassName}, |
|
|
|
& + & { |
|
|
|
.@{btnClassName}-rtl& { |
|
|
|
margin-right: -1px; |
|
|
|