Apply font-family to before only.

This avoids effecting the font-family of text inside <i>.
This commit is contained in:
omeid matten 2014-06-15 16:04:20 +10:00
parent 2649d91d18
commit 2507736ac8

View File

@ -3,10 +3,13 @@
.@{fa-css-prefix} { .@{fa-css-prefix} {
display: inline-block; display: inline-block;
font-family: FontAwesome;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
&::before {
font-family: FontAwesome;
}
} }