Skip to content

Commit 8a21881

Browse files
crisbetommalerba
authored andcommitted
fix(progress-bar): query mode not reversing direction in rtl (#6922)
Fixes the progressbar in query mode not reversing its direction in RTL.
1 parent 51396d0 commit 8a21881

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib/progress-bar/progress-bar.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ $mat-progress-bar-piece-animation-duration: 250ms !default;
6767

6868
&[mode='query'] {
6969
transform: rotateZ(180deg);
70+
71+
&[dir='rtl'],
72+
[dir='rtl'] & {
73+
transform: rotateZ(180deg) rotateY(180deg);
74+
}
7075
}
7176

7277
&[mode='indeterminate'],

0 commit comments

Comments
 (0)