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

Revamp button and input vars while fixing #21587 #22287

Merged
merged 2 commits into from
Mar 28, 2017
Merged

Conversation

mdo
Copy link
Member

@mdo mdo commented Mar 28, 2017

This PR updates a handful of button and input variables. Originally it started as a fix for #21587 that I was testing from #21592, but it moved this direction as I read the thread and stared at the code trying to ensure the large inputs matched the same code as the small ones.

Demo at https://jsbin.com/jufibek/.

  • Updates $btn- and $input- variables for padding and line-height to be shared like the $input-btn-border-width variable.
  • Moves from 1.333 lg line-height to 1.5 for better and easier math that matches the small inputs and buttons.
  • Updates button-size mixin to accept a line-height argument

Also closes #21592.

— Updates $btn- and $input- variables for padding and line-height to be
shared like the $input-btn-border-width variable.

— Moves from 1.333 lg line-height to 1.5 for better and easier math
that matches the small inputs and buttons.

— Updates button-size mixin to accept a line-height argument

Also closes #21592
@mdo mdo added this to the v4.0.0-beta milestone Mar 28, 2017
font-size: $font-size-sm;
@include border-radius($input-border-radius-sm);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains trailing whitespace

@mdo mdo merged commit 296c990 into v4-dev Mar 28, 2017
@mdo mdo deleted the input-btn-improvements branch March 28, 2017 16:28
This was referenced Mar 28, 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.

2 participants