From 668f0ee5e96ed0b697596d7fa7d0b4748924162b Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Mon, 11 Mar 2024 16:38:00 -0700 Subject: [PATCH] fix(textfield): no longer inherits `text-align` from parents Fixes #5509 PiperOrigin-RevId: 614835633 --- textfield/internal/_shared.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/textfield/internal/_shared.scss b/textfield/internal/_shared.scss index adca102cf9..a56ad9e785 100644 --- a/textfield/internal/_shared.scss +++ b/textfield/internal/_shared.scss @@ -16,6 +16,8 @@ display: inline-flex; outline: none; resize: both; + // Match default text-align of `` instead of `inherit`. + text-align: start; -webkit-tap-highlight-color: transparent; }