-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
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
Fix #23209. remove line height from input type number #23227
Conversation
scss/_forms.scss
Outdated
|
||
// line height issue in input type number. Solve by not assiging line height in inuput number type. | ||
&:not([type="number"]){ | ||
line-height: $input-btn-line-height; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line should be indented with spaces, not tabs
scss/_forms.scss
Outdated
color: $input-color; | ||
background-color: $input-bg; | ||
// Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214. | ||
background-image: none; | ||
background-clip: padding-box; | ||
border: $input-btn-border-width solid $input-border-color; | ||
|
||
// line height issue in input type number. Solve by not assiging line height in inuput number type. | ||
&:not([type="number"]){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opening curly brace {
should be preceded by one space
scss/_forms.scss
Outdated
|
||
// line height issue in input type number. Solve by not assiging line height in inuput number type. | ||
&:not([type="number"]) { | ||
line-height: $input-btn-line-height; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line should be indented 4 spaces, but was indented 3 spaces
Given this affects more than the number inputs, closing out. |
Solved issue mention in #23209. There is line height issue only in input type number. I have remove line height from number type by adding this css code
&:not([type="number"]){ line-height: $input-btn-line-height; }