Skip to content

Commit

Permalink
style: optimization page style in RTL (#22155)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Mar 12, 2020
1 parent 2a6f975 commit 12420a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions components/pagination/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
height: @pagination-item-size-sm;
margin-right: 8px;

.@{pagination-prefix-cls}-rtl & {
.@{pagination-prefix-cls}-rtl& {
margin-right: 0;
margin-left: 8px;
}
Expand All @@ -307,7 +307,7 @@
border-color: @primary-color;
}

.@{pagination-prefix-cls}-rtl & {
.@{pagination-prefix-cls}-rtl& {
margin-right: 0;
margin-left: 8px;
}
Expand Down Expand Up @@ -359,6 +359,12 @@

&.mini &-options {
margin-left: 2px;

.@{pagination-prefix-cls}-rtl& {
margin-right: 2px;
margin-left: 0;
}

&-quick-jumper {
height: @pagination-item-size-sm;
line-height: @pagination-item-size-sm;
Expand Down
1 change: 1 addition & 0 deletions components/select/style/single.less
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@

.@{select-prefix-cls}-rtl& {
padding-right: 0;
padding-left: @font-size-base * 1.5;
}
}
}
Expand Down

0 comments on commit 12420a9

Please sign in to comment.