Making a font-start from the bottom line.

I've most definitely seen @Kevin do this in some video, its when the font has some extra space below it and you want to remove that. In this case this font Im using 'Libre Baskerville' has some extra space below it, how do I get rid of that, I have for sure seen kevin do it in a video, but now I can't find that video. Please help.
9 Replies
henry
henryOP2y ago
For anyone thinking that this is an alignment issue , its not, they are perfectly aligned using a flexbox and alignItems
Jochem
Jochem2y ago
please check out #How To Ask Good Questions, share some code, and review the rules. Please don't @ people unnecessarily
henry
henryOP2y ago
My bad for the tag but I don't think any code is needed? The question itself is quite explanitory
Jochem
Jochem2y ago
👍
henry
henryOP2y ago
Its just the fact that the font is starting way above it's baseline font whatever reason
henry
henryOP2y ago
And I'm very certain i've seen kevin address this exact issue in some video and I just can't find it and i'm losing my mind this font has been annoying me for so long
Kevin Powell
Kevin Powell2y ago
Nothing you can currently do about that. It's baked into the font, and if you add a j or q in their it'll look better. With flexbox, you can do align-items: baseline , but that only does anything of you're using different fonts or don't sizes
henry
henryOP2y ago
I see, thats unfortunate, adding j or q in this situation is just not feasible here since that data is not in my control. Guess I'll just have to live with it, anyhow thanks for the response 🙂
Kevin Powell
Kevin Powell2y ago
I meant more to highlight why that space is there, rather than as an actual solution 😄 The align-items: baseline might work, the more I think about it though 🤷 If you do have a background on the text, it will stick out the bottom though so that won't help.
Want results from more Discord servers?
Add your server