From ca0709d14bdda40d637534cc8cbfb8175fc7a42d Mon Sep 17 00:00:00 2001 From: crisbeto Date: Thu, 3 Nov 2016 22:06:53 +0100 Subject: [PATCH] fix(progress-bar): bar being thrown off by parent's text-align 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. --- src/lib/progress-bar/progress-bar.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/progress-bar/progress-bar.scss b/src/lib/progress-bar/progress-bar.scss index 81bdaa48ff57..01222734d8ee 100644 --- a/src/lib/progress-bar/progress-bar.scss +++ b/src/lib/progress-bar/progress-bar.scss @@ -62,6 +62,7 @@ $md-progress-bar-piece-animation-duration: 250ms !default; height: 100%; position: absolute; width: 100%; + left: 0; } &[mode='query'] {