From 2507736ac8d687173fa2be3a5eb0879b9f62196b Mon Sep 17 00:00:00 2001 From: omeid matten Date: Sun, 15 Jun 2014 16:04:20 +1000 Subject: [PATCH] Apply font-family to before only. This avoids effecting the font-family of text inside . --- less/core.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/less/core.less b/less/core.less index 6d223bc2f..1f8d473a9 100644 --- a/less/core.less +++ b/less/core.less @@ -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; + } }