forms.less: top-align field lables and related...

...items like icons. They used to be bottom-aligned, resulting in
slightly confusing form layouts when text areas where involved.
This commit is contained in:
Thomas Gelf 2015-07-22 11:03:01 +02:00
parent d44547e469
commit c5d68995ec
1 changed files with 8 additions and 0 deletions

View File

@ -200,6 +200,14 @@ form label {
width: 10em; width: 10em;
} }
form div.element > * {
vertical-align: top;
}
form dt {
vertical-align: top;
}
select, input[type=text], textarea { select, input[type=text], textarea {
width: 20em; width: 20em;
display: inline-block; display: inline-block;