aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-04 20:40:09 -0700
committerMark Otto <[email protected]>2015-08-04 20:40:09 -0700
commit575869253526f848ee6cc823c1a0fb3feb63ac37 (patch)
tree7a50d0eb9ee065d19459f0086e0e64ccd2f7f8bb
parentc266f9773ea85ed8497530ed639568a150bd79d6 (diff)
downloadbootstrap-575869253526f848ee6cc823c1a0fb3feb63ac37.tar.xz
bootstrap-575869253526f848ee6cc823c1a0fb3feb63ac37.zip
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
-rw-r--r--less/modals.less2
1 files changed, 1 insertions, 1 deletions
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 {