DoSomething / forge

🎨 The DoSomething.org pattern library.
http://forge.dosomething.org
MIT License
48 stars 14 forks source link

Adjusts label height to allow for 2 lines #563

Closed itsjoekent closed 7 years ago

itsjoekent commented 7 years ago

Currently on small screens the .-field-label gets cut off because it spans 2 lines.

image

This fixes that problem by allowing for a max height rather than a static 1 line. This lets both 1 line & 2 line labels coexist in the form,

screen shot 2016-10-12 at 10 39 29 am

(and for good measure this is what it looks like on the local forge site)

screen shot 2016-10-12 at 10 39 48 am screen shot 2016-10-12 at 10 40 22 am