-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Add text-align: left to .form-control #19379
Comments
What about RTL text/pages? |
In RTL you will need in any case add styles like direction:RTL, text-align: right and is a good idea for .form-control-right |
X-Ref: #17925 |
The only one input[type="number"] should not have right align if rest is aligned to left. From design and UX point of all elements must have same structure and proportions. It is the same as making selects also align to right only because they have arrow button there. I agree that helper here would be better choice because it is only for one specific decorative case. |
Going to punt on this—I'd rather leave it inherited as it's the browser default. |
.form-control does not have text-align and because of that text-align might be inherited from parent element. Inputs should have text-align: left by default.
.form-control used as a div contenteditable=true
The text was updated successfully, but these errors were encountered: