自定义主题时将 @font-size-base 设置为 12px 后 @input-padding-vertical-base 计算有 0.2px 的误差导致样式异常 #28617
Open
1 task done
Labels
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
Inactive
Reproduction link
https://github.com/Carrotzpc/antd-demo
Steps to reproduce
What is expected?
input 高度正常
What is actually happening?
input 高度不正常,期望 antd 改进
@input-padding-vertical-base
的计算方法补充
临时解决办法
将
@input-padding-vertical-base
这个 less 变量替换为5.8px
The text was updated successfully, but these errors were encountered: