From ae89c2582a137b9578999707ef68868d56c134df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=92scar=20Casajuana?= Date: Thu, 3 Jul 2014 12:32:27 +0200 Subject: [PATCH] Removed unnecessary usage of `fa` class As all icon classes begin with `fa-` we can remove the need to use the single `fa` class. Before this change you need to define your icons like this: `` With this change, you'll only need to do: `` --- less/core.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/less/core.less b/less/core.less index 6d223bc2f..f5e7ce1c0 100644 --- a/less/core.less +++ b/less/core.less @@ -1,7 +1,8 @@ // Base Class Definition // ------------------------- -.@{fa-css-prefix} { +[class^="@{fa-css-prefix}-"], +[class*=" @{fa-css-prefix}-"] { display: inline-block; font-family: FontAwesome; font-style: normal;