From 745c23882dea684ae916bce0a209082586fd13b0 Mon Sep 17 00:00:00 2001 From: davegandy Date: Thu, 9 May 2013 20:49:31 -0400 Subject: [PATCH] fixing icon stacks for ie8 --- build/_includes/tests/rotated-flipped.html | 12 ++++++------ build/assets/font-awesome/css/font-awesome.css | 8 ++------ build/assets/font-awesome/less/mixins.less | 8 ++------ 3 files changed, 10 insertions(+), 18 deletions(-) diff --git a/build/_includes/tests/rotated-flipped.html b/build/_includes/tests/rotated-flipped.html index 3e973a87d..a6620cd3f 100644 --- a/build/_includes/tests/rotated-flipped.html +++ b/build/_includes/tests/rotated-flipped.html @@ -1,6 +1,6 @@ -  normal
-  icon-rotate-90
-  icon-rotate-180
-  icon-rotate-270
-  icon-flip-horizontal
-  icon-flip-vertical +  normal
+  icon-rotate-90
+  icon-rotate-180
+  icon-rotate-270
+  icon-flip-horizontal
+  icon-flip-vertical diff --git a/build/assets/font-awesome/css/font-awesome.css b/build/assets/font-awesome/css/font-awesome.css index e6efefec2..34fd78b12 100644 --- a/build/assets/font-awesome/css/font-awesome.css +++ b/build/assets/font-awesome/css/font-awesome.css @@ -255,17 +255,13 @@ ul.icons-ul > li .icon-li { .icon-stack [class*=" icon-"] { display: block; position: absolute; - width: inherit; - height: inherit; + width: 100%; + height: 100%; font-size: 1em; line-height: inherit; } .icon-stack .icon-stack-base { - display: block; - width: inherit; - height: inherit; font-size: 2em; - line-height: inherit; } /* Animated rotating icon */ .icon-spin { diff --git a/build/assets/font-awesome/less/mixins.less b/build/assets/font-awesome/less/mixins.less index eeb52aec1..c4859435e 100644 --- a/build/assets/font-awesome/less/mixins.less +++ b/build/assets/font-awesome/less/mixins.less @@ -20,17 +20,13 @@ [class*=" icon-"] { display: block; position: absolute; - width: inherit; - height: inherit; + width: 100%; + height: 100%; font-size: @top-font-size; line-height: inherit; } .icon-stack-base { - display: block; - width: inherit; - height: inherit; font-size: @base-font-size; - line-height: inherit; } } }