Убрал пустое пространство под иконками, которое в некоторых случаях мешало центрированию

This commit is contained in:
SleepWalker 2016-01-09 16:29:13 +02:00
parent 2018a6778e
commit 9656a60b93

View File

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