Skip to content

Commit

Permalink
fixed the alignment issues when row-label and row-help had no text [#…
Browse files Browse the repository at this point in the history
…153268701]

Signed-off-by: Ming Xiao <mxiao@pivotal.io>
  • Loading branch information
sjolicoeur authored and apps-manager committed Nov 29, 2017
1 parent e9b5aba commit f9cd9e7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/css/forms/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -459,13 +459,14 @@ textarea.valid {

.label-row {
display: block;
line-height: 4 * $base-unit;
line-height: 4 * $base-unit - 4;
min-height: 4 * $base-unit;
font-weight: 600;
font-size: 14px;
}

.help-row {
line-height: 2 * $base-unit;
line-height: 2 * $base-unit - 4;
min-height: 2 * $base-unit;
font-weight: 400;
font-size: 12px;
Expand All @@ -480,10 +481,6 @@ textarea.valid {
}
}

.label-row {
min-height: 4 * $base-unit;
}

&.has-error {
.help-row {
color: $input-invalid-text;
Expand Down

0 comments on commit f9cd9e7

Please sign in to comment.