Skip to content

Commit

Permalink
fix(progress-bar): bar being thrown off by parent's text-align (#1717)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
crisbeto authored and jelbourn committed Nov 8, 2016
1 parent 7fd0fcd commit 309d54c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/progress-bar/progress-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ $md-progress-bar-piece-animation-duration: 250ms !default;
height: 100%;
position: absolute;
width: 100%;
left: 0;
}

&[mode='query'] {
Expand Down

0 comments on commit 309d54c

Please sign in to comment.