From 6bd5dc7d9fefd6d936def8a224bf38c6beeac234 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 20 Dec 2012 13:53:38 -0800 Subject: Add important flag to .show/.hide utility classes; remove .hide requirement from modals --- less/modals.less | 1 + less/utilities.less | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/modals.less b/less/modals.less index 8da32dea9..7a233091d 100644 --- a/less/modals.less +++ b/less/modals.less @@ -26,6 +26,7 @@ top: 10%; left: 50%; z-index: @zindex-modal; + display: none; width: 560px; margin-left: -280px; background-color: #fff; diff --git a/less/utilities.less b/less/utilities.less index b11bcb3e2..d1e0a1bed 100644 --- a/less/utilities.less +++ b/less/utilities.less @@ -21,10 +21,10 @@ // ------------------------- .hide { - display: none; + display: none !important; } .show { - display: block; + display: block !important; } .invisible { visibility: hidden; -- cgit v1.2.3