From f9744ff52207617ec4610809603f34d7eba1d077 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 24 Apr 2012 06:39:14 -0700 Subject: make component animations work cross browsers with opacity mixin, restore float on thumbnails > li --- less/component-animations.less | 8 ++++---- less/thumbnails.less | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'less') diff --git a/less/component-animations.less b/less/component-animations.less index 5a1e202d1..da1f2e535 100644 --- a/less/component-animations.less +++ b/less/component-animations.less @@ -2,17 +2,17 @@ // -------------------- .fade { - opacity: 0; + .opacity(0); .transition(opacity .15s linear); &.in { - opacity: 1; + .opacity(100); } } .collapse { - position:relative; + position: relative; height: 0; - overflow:hidden; + overflow: hidden; .transition(height .35s ease); &.in { height: auto; diff --git a/less/thumbnails.less b/less/thumbnails.less index 7fa77afa9..012def577 100644 --- a/less/thumbnails.less +++ b/less/thumbnails.less @@ -14,6 +14,7 @@ // Float li to make thumbnails appear in a row .thumbnails > li { + float: left; // Explicity set the float since we don't require .span* classes margin-bottom: @baseLineHeight; } -- cgit v1.2.3