Skip to content
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

Closed
wants to merge 4 commits into from

Conversation

chiraggmodi
Copy link
Contributor

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; }

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;

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"]){

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;

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

@mdo
Copy link
Member

mdo commented Aug 15, 2017

Given this affects more than the number inputs, closing out.

@mdo mdo closed this Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants