46
我在引导框架下的按钮内的文本垂直对齐字体真棒图标时遇到问题。我尝试了很多东西,包括设置行高,但没有任何工作。引导按钮中的文本和图标的垂直对齐
<button id="edit-listing-form-house_Continue"
class="btn btn-large btn-primary"
style=""
value=""
name="Continue"
type="submit">
Continue
<i class="icon-ok" style="font-size:40px;"></i>
</button>
我怎样才能得到这个工作?
您可能还需要增加'的margin-top:-0.125 em',因为我发现如果使用像“bars”(无处不在的移动导航按钮)这样的图标,顶部还是有一些空间。 – cr0ybot
与Google Material Icons有类似的问题,并解决了这个问题。 –