Browse Source

style: fix transfer search padding in rtl (#23962)

pull/23981/head
xrkffgg 5 years ago
committed by GitHub
parent
commit
48c7011f67
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/transfer/style/index.less
  2. 4
      components/transfer/style/rtl.less

2
components/transfer/style/index.less

@ -35,7 +35,7 @@
} }
&-search { &-search {
padding-right: 24px !important; padding-right: 24px;
padding-left: @control-padding-horizontal-sm; padding-left: @control-padding-horizontal-sm;
&-action { &-action {
position: absolute; position: absolute;

4
components/transfer/style/rtl.less

@ -11,6 +11,10 @@
&-list { &-list {
&-search { &-search {
.@{transfer-prefix-cls}-rtl & {
padding-right: @control-padding-horizontal-sm;
padding-left: 24px;
}
&-action { &-action {
.@{transfer-prefix-cls}-rtl & { .@{transfer-prefix-cls}-rtl & {
right: auto; right: auto;

Loading…
Cancel
Save