Twitter Bootstrap:按钮下拉菜单中的图标 [英] Twitter Bootstrap: icons in button dropdown
本文介绍了Twitter Bootstrap:按钮下拉菜单中的图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
。
Here is the link on jsfiddle with some demo. It works well in Chrome and even in IE, but in FF icons get down. How can I fix it without moving them up with negative margins or something like this? I have no ideas why this happens.
解决方案
Just add the following style
.dropdown-menu a {
white-space:normal;
}
DEMO.
这篇关于Twitter Bootstrap:按钮下拉菜单中的图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文