Skip to content

append btn-* and input-* variables and extends their from input-btn-*…#24430

Closed
isychev wants to merge 2 commits intotwbs:v4-devfrom
isychev:btn_input_split_variables
Closed

append btn-* and input-* variables and extends their from input-btn-*…#24430
isychev wants to merge 2 commits intotwbs:v4-devfrom
isychev:btn_input_split_variables

Conversation

@isychev
Copy link

@isychev isychev commented Oct 19, 2017

Buttons and input inherit the padding from the $input-btn-padding-x and $input-btn-padding-y. For $input-btn-padding-y is entirely true, for there is a problem with $input-btn-padding-x, y buttons, large side indent and have indented input is much less.

Corrected this flaw and modified desires in #24265 (comment)

Fixes #23550.

$input-btn-border-width: $border-width !default; // For form controls and buttons
$input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;
$input-border-width: $input-btn-border-width !default;
$input-box-shadow: inset 0 1px 1px rgba($black,.075) !default;

Choose a reason for hiding this comment

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

Expected single space after "," in a single-line function function-comma-space-after

Copy link
Collaborator

@andresgalante andresgalante left a comment

Choose a reason for hiding this comment

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

@mdo the "Buttons + Forms" section is a good solution to organize input variables before buttons
I tested it as much as I could and everything works as it should.
Big 👍 to this one.

@mdo
Copy link
Member

mdo commented Oct 28, 2017

So this is somehow merged into v4-dev now... I dunno how I screwed up the git history, but it's all outta whack in this PR. Good news is the changes are in v4-dev, so yay!

@mdo mdo closed this Oct 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.

5 participants