Browse Source

make input-rows have the same height as inputs.

pull/529/head
connors 11 years ago
parent
commit
ea45eb852d
  1. 3
      sass/forms.scss

3
sass/forms.scss

@ -92,6 +92,7 @@ select {
// To use labels with input groups, wrap a label and an input in an .input-row // To use labels with input groups, wrap a label and an input in an .input-row
.input-row { .input-row {
overflow: hidden; overflow: hidden;
height: 35px; // Matches the height of inputs.
border-bottom: $border-default; border-bottom: $border-default;
} }
@ -99,7 +100,7 @@ select {
.input-row label { .input-row label {
float: left; float: left;
width: 35%; width: 35%;
padding: 10px 15px; padding: 8px 15px;
font-family: $font-family-default; font-family: $font-family-default;
line-height: 1.1; // Put the text on the baseline. line-height: 1.1; // Put the text on the baseline.
} }

Loading…
Cancel
Save