Skip to content

Commit 309d54c

Browse files
crisbetojelbourn
authored andcommitted
fix(progress-bar): bar being thrown off by parent's text-align (#1717)
Fixes the `md-progress-bar`'s bar being positioned weirdly, if it's parent has `text-align: right`. Note that this doesn't require any special styling for RTL since we use a transform rotation to flip the styling. Fixes #1165.
1 parent 7fd0fcd commit 309d54c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ $md-progress-bar-piece-animation-duration: 250ms !default;
6262
height: 100%;
6363
position: absolute;
6464
width: 100%;
65+
left: 0;
6566
}
6667

6768
&[mode='query'] {

0 commit comments

Comments
 (0)