Twitter引导形成“崩溃”使用自定义字体时 [英] Twitter bootstrap forms "collapse" when using custom font
本文介绍了Twitter引导形成“崩溃”使用自定义字体时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只是将twitter引导加到我的网站,但它似乎并不像我希望它在使用自定义字体的表单域上那样工作。表单输入被推到一个较小的高度,并且内容被切断。添加高度也没有帮助。
I just added twitter bootstrap to my website, but it does not seem like it works the way I want it to on the form fields that use custom fonts. The form inputs get pushed to a smaller height, and the content is cut off. Adding height does not help either.
我需要以某种方式解决此问题。
I need to fix this somehow.
推荐答案
code> height 和 line-height
。
Add a larger height
and line-height
.
例如:
.input-medium {
height: 2em;
line-height: 1em;
}
这篇关于Twitter引导形成“崩溃”使用自定义字体时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文