Skip to content

Commit

Permalink
style: optimize timeline rtl style (#22652)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Mar 27, 2020
1 parent 0fa8e4c commit cc6cde1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions components/timeline/style/rtl.less
Expand Up @@ -116,4 +116,20 @@
}
}
}

&.@{timeline-prefix-cls}-label {
.@{timeline-prefix-cls}-item-label {
.@{timeline-prefix-cls}-rtl& {
text-align: left;
}
}
.@{timeline-prefix-cls}-item-right {
.@{timeline-prefix-cls}-item-label {
.@{timeline-prefix-cls}-rtl& {
right: calc(50% + 14px);
text-align: right;
}
}
}
}
}

0 comments on commit cc6cde1

Please sign in to comment.