Skip to content

Commit

Permalink
fix(textfield): no longer inherits text-align from parents
Browse files Browse the repository at this point in the history
Fixes #5509

PiperOrigin-RevId: 614835633
  • Loading branch information
asyncLiz authored and copybara-github committed Mar 11, 2024
1 parent 34c0a67 commit 668f0ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions textfield/internal/_shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
display: inline-flex;
outline: none;
resize: both;
// Match default text-align of `<input>` instead of `inherit`.
text-align: start;
-webkit-tap-highlight-color: transparent;
}

Expand Down

0 comments on commit 668f0ee

Please sign in to comment.