Skip to content

Commit

Permalink
fix: rtl
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed Aug 7, 2020
1 parent 1fee009 commit e672d93
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions components/steps/style/rtl.less
Expand Up @@ -42,13 +42,13 @@
.@{steps-prefix-cls}-horizontal:not(.@{steps-prefix-cls}-label-vertical) {
.@{steps-prefix-cls}-item {
.@{steps-prefix-cls}-rtl& {
margin-right: 0;
margin-left: 16px;
padding-right: 16px;
padding-left: 0;
}

&:last-child {
&:first-child {
.@{steps-prefix-cls}-rtl& {
margin-left: 0;
padding-right: 0;
}
}
&:last-child .@{steps-prefix-cls}-item-title {
Expand Down Expand Up @@ -115,13 +115,13 @@
&.@{steps-prefix-cls}-horizontal:not(.@{steps-prefix-cls}-label-vertical)
.@{steps-prefix-cls}-item {
.@{steps-prefix-cls}-rtl& {
margin-right: 0;
margin-left: 12px;
padding-right: 12px;
padding-left: 0;
}

&:last-child {
&:first-child {
.@{steps-prefix-cls}-rtl& {
margin-left: 0;
padding-right: 0;
}
}
}
Expand Down

0 comments on commit e672d93

Please sign in to comment.