From ae98f1803f09fae7e427075f99c19d218d68f46c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 12 Apr 2013 20:56:19 -0700 Subject: add modal variables and tweak padding for min-height on modal title --- less/modals.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'less/modals.less') diff --git a/less/modals.less b/less/modals.less index c302e2a2b..c05c3f7b0 100644 --- a/less/modals.less +++ b/less/modals.less @@ -74,19 +74,19 @@ // Modal header // Top section of the modal w/ title and dismiss .modal-header { - padding: 9px 15px; + padding: @modal-title-padding; border-bottom: 1px solid #e5e5e5; - min-height:40px; + min-height: (@modal-title-padding + @modal-title-line-height); } // Close icon .modal-header .close { - margin-top: 2px; + margin-top: -2px; } // Title text within header .modal-title { margin: 0; - line-height: 30px; // effectively set a min-height for the header + line-height: @modal-title-line-height; } // Modal body -- cgit v1.2.3