Browse Source

style: fix button loading rtl (#23399)

pull/23402/head
xrkffgg 5 years ago
committed by GitHub
parent
commit
e2dacde754
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      components/button/style/rtl.less

25
components/button/style/rtl.less

@ -24,30 +24,11 @@
}
}
&&-loading:not(&-circle):not(&-circle-outline):not(&-icon-only) {
.@{btn-prefix-cls}-rtl& {
padding-right: 29px;
padding-left: @padding-md - 1px;
}
.@{iconfont-css-prefix}:not(:last-child) {
.@{btn-prefix-cls}-rtl& {
margin-right: -14px;
margin-left: 0;
}
}
}
&-sm&-loading:not(&-circle):not(&-circle-outline):not(&-icon-only) {
.@{btn-prefix-cls}-rtl& {
padding-right: 24px;
padding-left: @padding-xs - 1px;
}
& > &-loading-icon {
.@{iconfont-css-prefix} {
.@{btn-prefix-cls}-rtl& {
margin-right: -17px;
margin-left: 0;
padding-right: 0;
padding-left: @margin-xs;
}
}
}

Loading…
Cancel
Save