1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 21:22:52 +02:00

flex the modal header so we can remove custom styles

updates the dom order in our docs to match (floated content comes first, but no need for that in flexbox)
This commit is contained in:
Mark Otto
2016-12-24 17:26:19 -08:00
committed by Mark Otto
parent e7f8ca08b0
commit 33746dc63e
2 changed files with 14 additions and 17 deletions

View File

@@ -77,13 +77,11 @@
// Modal header
// Top section of the modal w/ title and dismiss
.modal-header {
display: flex;
justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
align-items: center; // vertically center it
padding: $modal-header-padding;
border-bottom: $modal-header-border-width solid $modal-header-border-color;
@include clearfix;
}
// Close icon
.modal-header .close {
margin-top: -2px;
}
// Title text within header