The line-height property has an offset on Android phones


The first

First set line-height : normal ;

Then use padding to stretch the text line height

the second,

Set the width and height of the text according to the size and place it inside the label

If you use a div tag, then center the div vertically (self-Baidu that will not be vertically centered)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325573778&siteId=291194637