Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_modal.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss
index c0c4067162..1f290557a0 100644
--- a/scss/_modal.scss
+++ b/scss/_modal.scss
@@ -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