diff --git a/src/icons.css.hbs b/src/icons.css.hbs index 1ae51ba..76ddad8 100644 --- a/src/icons.css.hbs +++ b/src/icons.css.hbs @@ -1,21 +1,22 @@ @font-face { - font-family: "{{fontName}}"; - src: {{{src}}}; + font-family: "{{fontName}}"; + src: {{{src}}}; } .{{baseClass}} { - line-height: 1; + line-height: 1; vertical-align: middle; display: inline-block; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -} -.{{baseClass}}:before { - font-family: {{fontName}} !important; - font-style: normal; - font-weight: normal !important; + &:before { + display: block; // remove whitespace line under icon + font-family: {{fontName}} !important; + font-style: normal; + font-weight: normal !important; + } } {{#each codepoints}}