Full Stack Radio cover image

135: Lessons Learned Building Tailwind UI

Full Stack Radio

00:00

The Importance of Line Height in Tailwind

We had to figure out a way to get these buttons spent even height. And we knew like the only way to do this is to make sure that the line height multiplied by the font size comes out to an even number. So we debated what to do there and line height one sounds like a good idea in general, right? Because it's going to keep like the element kind of like contained just to the text. Sadly, it would be great if it was possible, but that's just the way the browser's work.

Play episode from 25:42
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