Full Stack Radio cover image

135: Lessons Learned Building Tailwind UI

Full Stack Radio

00:00

The Importance of Even Spacing

So we were just using font size plus line height plus padding plus border. So I think like what we actually landed on is 14 pixels plus 20 pixel line height, which basically means the 14 pixels is an irrelevant number. We did the same thing for inputs and buttons are done the exact same. Yeah. If you did a text area, that only had one row it would be 38 pixels. And two rows would be double that. Would be whatever. It wouldn't be quite double. The height is totally derived. Like I think we go 32, 36, 40. That's how we did it.

Play episode from 38:06
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