diff options
| author | Mark Otto <[email protected]> | 2017-06-17 20:09:00 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-08-10 22:45:48 -0700 |
| commit | 365c9753f84a026c8bd9695ec1d1587accf610f2 (patch) | |
| tree | 57c74f690347feba3448ecf153c787dce240696c | |
| parent | 9706ce72c92ab229f3b33c167670881c0d8f4329 (diff) | |
| download | bootstrap-365c9753f84a026c8bd9695ec1d1587accf610f2.tar.xz bootstrap-365c9753f84a026c8bd9695ec1d1587accf610f2.zip | |
Ensure alignment of modal dismiss when no .modal-title is present
| -rw-r--r-- | scss/_modal.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss index c0c406716..1f290557a 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 |
