Skip to content

Commit bdc76d6

Browse files
committed
Merge branch 'textarea-vtop' of github.com:rictorres/pure into rictorres-textarea-vtop
Conflicts: HISTORY.md
2 parents 1fa9cf9 + 26ff82e commit bdc76d6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

HISTORY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ NEXT
1818
`font-family: inherit;` has been added to the `.pure-button` selector to
1919
normalize the difference in height. ([#221][] @narcis-radu)
2020

21+
### Forms
22+
23+
* Added `vertical-align: top;` to `<textarea>`s within `.pure-form-aligned`
24+
Forms to fix an alignment issue where its label was aligned to the middle.
25+
([#174][] @rictorres, @ItsAsbreuk)
26+
2127

28+
[#174]: https://github.com/yui/pure/issues/174
2229
[#200]: https://github.com/yui/pure/issues/200
2330
[#221]: https://github.com/yui/pure/issues/221
2431

src/forms/css/forms.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@
164164
*zoom: 1;
165165
vertical-align: middle;
166166
}
167+
.pure-form-aligned textarea {
168+
vertical-align: top;
169+
}
167170

168171
/* Aligned Forms */
169172
.pure-form-aligned .pure-control-group {

0 commit comments

Comments
 (0)