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
henryβ€’11mo ago
For anyone thinking that this is an alignment issue , its not, they are perfectly aligned using a flexbox and alignItems
Jochem
Jochemβ€’11mo ago
please check out #How To Ask Good Questions, share some code, and review the rules. Please don't @ people unnecessarily
henry
henryβ€’11mo ago
My bad for the tag but I don't think any code is needed? The question itself is quite explanitory
Jochem
Jochemβ€’11mo ago
πŸ‘
henry
henryβ€’11mo ago
Its just the fact that the font is starting way above it's baseline font whatever reason
henry
henryβ€’11mo 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 Powellβ€’11mo 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
henryβ€’11mo 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 Powellβ€’11mo 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.