2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

Ensure alignment of modal dismiss when no .modal-title is present

This commit is contained in:
Mark Otto
2017-06-17 20:09:00 -07:00
committed by Mark Otto
parent 9706ce72c9
commit 365c9753f8
+4
View File
@@ -82,6 +82,10 @@
justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
padding: $modal-header-padding;
border-bottom: $modal-header-border-width solid $modal-header-border-color;
.close {
margin-left: auto; // Force icon to the right even when there's no .modal-title
}
}
// Title text within header