A
A
Andrew2018-10-30 01:44:50
JavaScript
Andrew, 2018-10-30 01:44:50

How can I edit the font to reduce its height?

When adding a new font, the indent under it became noticeable, and the text itself looks a little higher, is it possible to edit the font so that there is no transparent indent at the bottom? New Omnes font, old SF-UI
image.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2018-10-30
@profesor08

line-heightdoesn't solve the problem, the height decreases proportionally and the text will never be centered. flexaligns with line-height, and since it doesn't solve the problem, flexit doesn't solve it either.
There are two ways to solve the problem, the first is to fix the font so that this indent does not exist, or so that it is equal both from below and from above. The second is to wrap the text and move it any way you like position: relative + top, or margin, or transform: translate.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question