mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-15 17:50:28 +08:00
Apply font-family to before only.
This avoids effecting the font-family of text inside <i>.
This commit is contained in:
parent
2649d91d18
commit
2507736ac8
@ -3,10 +3,13 @@
|
||||
|
||||
.@{fa-css-prefix} {
|
||||
display: inline-block;
|
||||
font-family: FontAwesome;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
&::before {
|
||||
font-family: FontAwesome;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user