From 365c9753f84a026c8bd9695ec1d1587accf610f2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 17 Jun 2017 20:09:00 -0700 Subject: Ensure alignment of modal dismiss when no .modal-title is present --- scss/_modal.scss | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scss/_modal.scss') 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 -- cgit v1.2.3