Tintin
Tintin
@bqzinga.bsky.social
Développeur le jour, fatigué sur les sentiers ou en CT le reste du temps.
Reposted by Tintin
My favorite tip was my discovery of using `min-width: fit-content` for things like buttons, instead of `nowrap`.

If the parent is a flex item with wrapping, that wrapping bevaior will work the same way, but when there is no room at all, the text will wrap.
January 29, 2025 at 5:27 PM