We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc807a commit 43dbbe2Copy full SHA for 43dbbe2
src/material/progress-bar/progress-bar.scss
@@ -23,6 +23,13 @@
23
// Explicitly set to `block` since the browser defaults custom elements to `inline`.
24
display: block;
25
26
+ // Explicitly set a `text-align` so that the content isn't affected by the parent (see #27613).
27
+ text-align: left;
28
+
29
+ [dir='rtl'] & {
30
+ text-align: right;
31
+ }
32
33
// Inverts the progress bar horizontally in `query` mode.
34
&[mode='query'] {
35
transform: scaleX(-1);
0 commit comments