Skip to content

Commit

Permalink
fix(input): Correct vertical alignment of inputs and their labels, cl…
Browse files Browse the repository at this point in the history
…oses #799
  • Loading branch information
adamdbradley committed Mar 15, 2014
1 parent bf75187 commit 6547ca6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scss/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ textarea {
font-size: 16px;
}

&.item.active,
&.item.active,
.ionic-pseudo &.item:active {
border-color: $item-default-border;
background-color: transparent;
Expand All @@ -79,6 +79,10 @@ textarea {
@include flex(1, 0, 220px);
@include appearance(none);
}

.icon {
min-width: 14px;
}
}

.item-input-inset {
Expand Down Expand Up @@ -116,6 +120,7 @@ textarea {
max-width: 200px;
color: $input-label-color;
font-weight: bold;
font-size: $font-size-base;
}

.placeholder-icon {
Expand Down Expand Up @@ -175,11 +180,12 @@ input[type="search"],
input[type="tel"],
input[type="color"] {
display: block;
padding-top: 2px;
height: $line-height-computed + $font-size-base;
color: $input-color;
vertical-align: middle;
font-size: $font-size-base;
line-height: $line-height-computed;
line-height: $font-size-base + 2;
}

input,
Expand Down

0 comments on commit 6547ca6

Please sign in to comment.