From 2641fed73f51cdd2a77698c538403cc892e183a5 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 4 Aug 2013 22:30:09 -0700 Subject: Fixes #8723: allow modals to not need the .fade class /cc @fat --- less/modals.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/modals.less b/less/modals.less index 996db6c7f..2e574535e 100644 --- a/less/modals.less +++ b/less/modals.less @@ -29,7 +29,7 @@ .translate(0, -25%); .transition-transform(~"0.3s ease-out"); } - &.fade.in .modal-dialog { .translate(0, 0)} + &.in .modal-dialog { .translate(0, 0)} } // Shell div to position the modal with bottom padding @@ -65,7 +65,7 @@ background-color: @modal-backdrop-bg; // Fade for backdrop &.fade { .opacity(0); } - &.fade.in { .opacity(.5); } + &.in { .opacity(.5); } } // Modal header -- cgit v1.2.3