Skip to content

Commit

Permalink
fix(progress-bar): query mode not reversing direction in rtl (#6922)
Browse files Browse the repository at this point in the history
Fixes the progressbar in query mode not reversing its direction in RTL.
  • Loading branch information
crisbeto authored and mmalerba committed Sep 12, 2017
1 parent 51396d0 commit 8a21881
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/progress-bar/progress-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ $mat-progress-bar-piece-animation-duration: 250ms !default;

&[mode='query'] {
transform: rotateZ(180deg);

&[dir='rtl'],
[dir='rtl'] & {
transform: rotateZ(180deg) rotateY(180deg);
}
}

&[mode='indeterminate'],
Expand Down

0 comments on commit 8a21881

Please sign in to comment.