From 575869253526f848ee6cc823c1a0fb3feb63ac37 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 4 Aug 2015 20:40:09 -0700 Subject: [PATCH] fixes #16769: use a clearfix on the .modal-header instead of a min-height to avoid collapsing when only a dismiss button is available and no .modal-title --- less/modals.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less/modals.less b/less/modals.less index 1de622050..767ce36ba 100644 --- a/less/modals.less +++ b/less/modals.less @@ -79,7 +79,7 @@ .modal-header { padding: @modal-title-padding; border-bottom: 1px solid @modal-header-border-color; - min-height: (@modal-title-padding + @modal-title-line-height); + &:extend(.clearfix all); } // Close icon .modal-header .close {