Skip to content

Commit

Permalink
Remove unused input-size mixin (twbs#21971)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg authored and mdo committed Feb 12, 2017
1 parent 766e8b1 commit 3173a72
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions scss/mixins/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,29 +53,3 @@
@include box-shadow($input-box-shadow-focus);
}
}

// Form control sizing
//
// Relative text size, padding, and border-radii changes for form controls. For
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
// element gets special love because it's special, and that's a fact!

@mixin input-size($parent, $input-height, $padding-y, $padding-x, $font-size, $line-height, $border-radius) {
#{$parent} {
height: $input-height;
padding: $padding-y $padding-x;
font-size: $font-size;
line-height: $line-height;
@include border-radius($border-radius);
}

select#{$parent} {
height: $input-height;
line-height: $input-height;
}

textarea#{$parent},
select[multiple]#{$parent} {
height: auto;
}
}

0 comments on commit 3173a72

Please sign in to comment.