Full Stack Radio cover image

135: Lessons Learned Building Tailwind UI

Full Stack Radio

00:00

How to Make Text Tight and Loose

Tailwind includes utilities for setting line height. So we have like letting none, which is line height one. So matches the font size exactly. We're using loose, which I think is two, letting normal, which is 1.5, like letting tight, which was 1.25. And all this is good and it's nice and it sounds like a great idea at first because you have like decoupled your like line height system from everything else. But there are opportunities that I see to make it better now, though,. Which has been interesting in most of it in a non-breaking way, which has been good.

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