Skip to content

Commit 39a98cc

Browse files
forms.less: Apply fixed height to input elements
- Apply unitless line-height
1 parent c894333 commit 39a98cc

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

public/css/icinga/forms.less

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,16 @@ form.icinga-form {
228228
}
229229
}
230230

231-
form.icinga-form select:not([multiple]),
232-
form.icinga-form input[type="datetime-local"] {
233-
// Compensate inconsistent select height calculations
234-
line-height: 1em;
235-
height: 2.25em;
231+
form.icinga-form {
232+
select:not([multiple]),
233+
input[type="text"],
234+
input[type="password"],
235+
input[type="number"],
236+
input[type="datetime-local"],
237+
input[type="time"] {
238+
line-height: 1;
239+
height: 2.25em;
240+
}
236241
}
237242

238243
// Remove native dropdown arrow in IE10+

0 commit comments

Comments
 (0)