aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Welton <[email protected]>2013-08-22 02:54:54 +0100
committerThomas Welton <[email protected]>2013-08-22 02:54:54 +0100
commit8663b75c4d28bde0992e07b1caa666658bb64004 (patch)
tree533f63446eee2db9f28bb1b0e2a6558d0ae4a900
parent1bcf9f126d2ab72b67190e9284bb7e7ce7a94719 (diff)
downloadbootstrap-8663b75c4d28bde0992e07b1caa666658bb64004.tar.xz
bootstrap-8663b75c4d28bde0992e07b1caa666658bb64004.zip
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.
-rw-r--r--less/glyphicons.less4
1 files changed, 4 insertions, 0 deletions
diff --git a/less/glyphicons.less b/less/glyphicons.less
index 0e0ba986c..82915ce69 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"; } }