antvis / antvis.github.io

🔜 AntV 新站点!

Home Page:https://antv.vision

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Banner 按钮文字未垂直居中

afc163 opened this issue · comments

不应该用 padding 做垂直居中。

height: 40px;
- padding: 8px 26px 10px;
+ padding: 0 26px;
+ line-height: 40px;

image