Bottom few pixels of text cut off

后端 未结 8 1773
暗喜
暗喜 2021-02-12 13:46

I really can\'t figure out what\'s going on in this case. On the multiline pieces of text, the bottom few pixels are cut off.

8条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-12 14:17

    For me it was font-kerning. Its default value is auto which means it is using kerning information stored in a font. I changed it to normal and it fixed the issue.

    input {
      font-kerning: normal;
    }
    

提交回复
热议问题