
135: Lessons Learned Building Tailwind UI
Full Stack Radio
00:00
How to Use Fixed Heights on Text Areas
"We want our text areas to match our form input styles, right? So if we had a line height of 2 on text areas, that would mean everything you type into a text area is going to be like double spaced and just look stupid," he says. "So the only way to make things look right on text areas is to use vertical padding, which means we should use vertical padding everywhere." 'I don't know how, I don't remember the order that all these options happen,' she adds. "'You can't use fixed heights on form inputs because a text area could be any height depending on like how many lines you want showing or whatever' That's what convinced me 100
Play episode from 30:17
Transcript


