分享一个在Firefox下输入框变大的修复教程 #76
Xia0xia0Xia0
started this conversation in
经验分享(Share Experience)
Replies: 1 comment
-
Firefox确实会根据不同字体的字宽来绘制input标签宽度,个别字体会导致input被撑开,将input排除渲染即可。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Firefox浏览器使用字体渲染脚本更改一些比较特殊的字体(我用的是苹方)后,就会出现下面的情况:
这时候要修复这个bug,需要以下操作:
打开脚本界面,在需要渲染的网页元素里添加
:not(input)
,然后再在排除渲染的HTML标签里删除input,
,再保存就好啦!我很强,我是笑小笑。
Beta Was this translation helpful? Give feedback.
All reactions