-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MdTextField inherits text-align from parents #5509
MdTextField inherits text-align from parents #5509
Comments
Would appreciate a PR if you can put one together! |
@asyncLiz Thanks, I have not worked with SCSS intensively so I am not very familiar with it. Don't know if there is a way so both A small note, currently the internal Also it's pretty hard to contribute to styling from Windows because this command cannot be run on Windows and WSL (Windows Subsystem for Linux) somehow takes a few minutes to finish (GitHub Actions takes only a few seconds). I am not sure if there is a solution for this.
|
Fixes #5509 PiperOrigin-RevId: 614765735
Fixes #5509 PiperOrigin-RevId: 614765735
Fixes #5509 PiperOrigin-RevId: 614765735
What is affected?
Component
Description
See Lit Playground. I am not sure if it's intended but right now parents'
text-align
would affect the text fields as well. Maybe because it'sinline-flex
instead ofinline-block
like the standard'sinput
?Reproduction
See above.
Workaround
Manually set the text field text-align back.
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
v1.3.0
Browser/OS/Node environment
Windows 11 Pro
Microsoft Edge
Version 122.0.2365.66 (Official build) (64-bit)
Google Chrome
Version 122.0.6261.95 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: