From 8663b75c4d28bde0992e07b1caa666658bb64004 Mon Sep 17 00:00:00 2001 From: Thomas Welton Date: Thu, 22 Aug 2013 02:54:54 +0100 Subject: [PATCH] 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. --- less/glyphicons.less | 4 ++++ 1 file changed, 4 insertions(+) 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"; } } -- 2.47.2