Skip to content

Commit 5fd3abe

Browse files
committed
Fix input-sm/input-lg not affecting field height
Override PicoCSS fixed height with height: auto so that padding and font-size from .input-sm/.input-lg properly size the input fields.
1 parent c908da4 commit 5fd3abe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

css/mu.component.forms.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44

55
/* Sizes */
66
input.input-sm, textarea.input-sm, select.input-sm {
7+
height: auto;
78
padding: 0.375rem 0.625rem;
89
font-size: 0.8125rem;
910
}
1011
input.input-lg, textarea.input-lg, select.input-lg {
12+
height: auto;
1113
padding: 0.75rem 1rem;
1214
font-size: 1.125rem;
1315
}

0 commit comments

Comments
 (0)