Skip to content

Commit 668f0ee

Browse files
asyncLizcopybara-github
authored andcommitted
fix(textfield): no longer inherits text-align from parents
Fixes #5509 PiperOrigin-RevId: 614835633
1 parent 34c0a67 commit 668f0ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

textfield/internal/_shared.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
display: inline-flex;
1717
outline: none;
1818
resize: both;
19+
// Match default text-align of `<input>` instead of `inherit`.
20+
text-align: start;
1921
-webkit-tap-highlight-color: transparent;
2022
}
2123

0 commit comments

Comments
 (0)