From 40ef74a1d612b8b9d989d63682b385074298cd04 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 20 Jun 2012 22:26:58 +0300 Subject: [PATCH] css: Fixed event handling in Chrome browser Tested in Chromium 18. Previously hover and click events on elements didn't work properly. --- css/font-awesome.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/font-awesome.css b/css/font-awesome.css index 4697599c7..2db655949 100644 --- a/css/font-awesome.css +++ b/css/font-awesome.css @@ -31,15 +31,16 @@ /* Font Awesome styles ------------------------------------------------------- */ +[class^="icon-"], [class*=" icon-"] { + display: inline-block; +} [class^="icon-"]:before, [class*=" icon-"]:before { font-family: FontAwesome; font-weight: normal; font-style: normal; - display: inline-block; text-decoration: inherit; } a [class^="icon-"], a [class*=" icon-"] { - display: inline-block; text-decoration: inherit; } /* makes the font 33% larger relative to the icon container */ @@ -53,7 +54,6 @@ a [class^="icon-"], a [class*=" icon-"] { line-height: .9em; } li [class^="icon-"], li [class*=" icon-"] { - display: inline-block; width: 1.25em; text-align: center; }