From 371d14e2173888932b1edf11083ccbf73bae313e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 23 May 2013 21:06:02 -0700 Subject: [PATCH] Remove commented out code and properly nest CSS again for .collapse --- docs/assets/css/bootstrap.css | 10 ---------- less/component-animations.less | 17 ++++------------- 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 29cf519236..b65d864807 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1985,16 +1985,6 @@ input[type="button"].btn-block { opacity: 1; } -/*.collapse { - position: relative; - height: 0; - overflow: hidden; - .transition(height .35s ease); - &.in { - height: auto; - } -}*/ - .collapse { position: relative; height: 0; diff --git a/less/component-animations.less b/less/component-animations.less index b25adc932a..50e5e45c12 100644 --- a/less/component-animations.less +++ b/less/component-animations.less @@ -11,22 +11,13 @@ } } -/*.collapse { - position: relative; - height: 0; - overflow: hidden; - .transition(height .35s ease); - &.in { - height: auto; - } -}*/ - .collapse { position: relative; height: 0; overflow: hidden; .transition(height .35s ease); -} -.collapse.in { - height: auto; + + &.in { + height: auto; + } }