Skip to content

Commit

Permalink
Added glyphicon-block class
Browse files Browse the repository at this point in the history
Prevents elements moving around the page after the font file has loaded by setting a defined width on elements using the icon font.
  • Loading branch information
thomaswelton committed Aug 22, 2013
1 parent 1bcf9f1 commit 8663b75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions less/glyphicons.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
-webkit-font-smoothing: antialiased;
}

.glyphicon-block{
width: 1em;
}

// Individual icons
.glyphicon-asterisk { &:before { content: "\2a"; } }
.glyphicon-plus { &:before { content: "\2b"; } }
Expand Down

0 comments on commit 8663b75

Please sign in to comment.