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:
parent
d44547e469
commit
c5d68995ec
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue