Full Stack Radio cover image

135: Lessons Learned Building Tailwind UI

Full Stack Radio

00:00

How to Use a Line Height on Text Input in a Browser

If you try to use a line height on a text input in the browser, that's less than about like 1.15,. The browser just like straight up ignores it. And even if you do, you're going to have vertical padding probably baked into the headline. You'll work around it in that case because you need it, but right as I could general rule, it's like not worth the trouble in my experience.

Play episode from 28:26
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app