Skip to content

Commit

Permalink
fix(utils): reverse middle pos in rtl
Browse files Browse the repository at this point in the history
  • Loading branch information
Juveniel authored and joneff committed Dec 3, 2020
1 parent 39ce9aa commit ebdae05
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/default/scss/utils/_position.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,26 @@
top: 50%;
transform: translateY(-50%);
left: 0;

.k-rtl &,
&[dir="rtl"],
[dir="rtl"] & {
left: auto;
right: 0;
}
}
.k-middle-end ,
.k-pos-middle-end {
top: 50%;
transform: translateY(-50%);
right: 0;

.k-rtl &,
&[dir="rtl"],
[dir="rtl"] & {
right: auto;
left: 0;
}
}
.k-bottom-start,
.k-pos-bottom-start {
Expand Down

0 comments on commit ebdae05

Please sign in to comment.