Is there a way to set min-line-height on inline element in CSS?

后端 未结 3 1838
滥情空心
滥情空心 2021-01-17 19:12

I have some inline links with icon showing on the left (padding + bacground), but when the font is too small, the image doesn\'t fit in line height and gets cropped on top a

3条回答
  •  旧巷少年郎
    2021-01-17 20:04

    you may be able to use display:inline-block to allow the min-height as inline tags are a little restricted

提交回复
热议问题