mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-23 21:53:25 +02:00
Ensure alignment of modal dismiss when no .modal-title is present
This commit is contained in:
@@ -82,6 +82,10 @@
|
|||||||
justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
|
justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
|
||||||
padding: $modal-header-padding;
|
padding: $modal-header-padding;
|
||||||
border-bottom: $modal-header-border-width solid $modal-header-border-color;
|
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
|
// Title text within header
|
||||||
|
Reference in New Issue
Block a user