ant-design / html2sketch

parser HTML to Sketch JSON

Home Page:https://ant-design.github.io/html2sketch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐛[BUG]input 元素设置 placeholder 默认值,并且设置 line-height 属性垂直居中显示,生成 sketch 资源,没有居中显示

janily opened this issue · comments

🐛 bug 描述

input 元素设置 placeholder 默认值,并且设置 line-height 属性垂直居中显示,生成 sketch 资源,没有居中显示

📷 复现步骤

input 元素设置 placeholder 默认值,并且设置 line-height 属性垂直居中显示,生成 sketch 资源,没有居中显示,如图所示

image

🏞 期望结果

居中显示

💻 复现代码

下面 demo 可复现问题

可复现 demo

© 版本信息

  • html2sketch 版本: [0.4.6]
  • 浏览器环境
  • 开发环境 [sketch 69]

🚑 其他信息

👌 这个应该容易处理的,这几天修掉