We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f161e8 commit 58dd802Copy full SHA for 58dd802
src/material/progress-bar/progress-bar.scss
@@ -29,6 +29,13 @@
29
// Explicitly set to `block` since the browser defaults custom elements to `inline`.
30
display: block;
31
32
+ // Explicitly set a `text-align` so that the content isn't affected by the parent (see #27613).
33
+ text-align: left;
34
+
35
+ [dir='rtl'] & {
36
+ text-align: right;
37
+ }
38
39
// Inverts the progress bar horizontally in `query` mode.
40
&[mode='query'] {
41
transform: scaleX(-1);
0 commit comments