]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Added glyphicon-block class
authorThomas Welton <thomaswelton@me.com>
Thu, 22 Aug 2013 01:54:54 +0000 (02:54 +0100)
committerThomas Welton <thomaswelton@me.com>
Thu, 22 Aug 2013 01:54:54 +0000 (02:54 +0100)
Prevents elements moving around the page after the font file has loaded by setting a defined width on elements using the icon font.

less/glyphicons.less

index 0e0ba986c366068d0e0d687af1cd19c4d4175242..82915ce691c2f882552931c7f5ea974962140823 100644 (file)
   -webkit-font-smoothing: antialiased;
 }
 
+.glyphicon-block{
+  width: 1em;
+}
+
 // Individual icons
 .glyphicon-asterisk               { &:before { content: "\2a"; } }
 .glyphicon-plus                   { &:before { content: "\2b"; } }