From: Thomas Welton Date: Thu, 22 Aug 2013 01:54:54 +0000 (+0100) Subject: Added glyphicon-block class X-Git-Tag: v3.0.1~133^2~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8663b75c4d28bde0992e07b1caa666658bb64004;p=thirdparty%2Fbootstrap.git Added glyphicon-block class Prevents elements moving around the page after the font file has loaded by setting a defined width on elements using the icon font. --- diff --git a/less/glyphicons.less b/less/glyphicons.less index 0e0ba986c3..82915ce691 100644 --- a/less/glyphicons.less +++ b/less/glyphicons.less @@ -29,6 +29,10 @@ -webkit-font-smoothing: antialiased; } +.glyphicon-block{ + width: 1em; +} + // Individual icons .glyphicon-asterisk { &:before { content: "\2a"; } } .glyphicon-plus { &:before { content: "\2b"; } }