diff options
| author | Chris Rebert <[email protected]> | 2016-02-15 23:16:13 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2016-02-15 23:16:13 -0800 |
| commit | 819b0179f04fa29257dd3e1c46f9dda0dfc692dc (patch) | |
| tree | e7969285aa116a246323614f86e5fdd088989854 | |
| parent | 82d5f4bf561c0085a1c8097ad4fd1a61585efe23 (diff) | |
| parent | b35aa23453e1b7f4f4aca7021919018174d3ef8a (diff) | |
| download | bootstrap-819b0179f04fa29257dd3e1c46f9dda0dfc692dc.tar.xz bootstrap-819b0179f04fa29257dd3e1c46f9dda0dfc692dc.zip | |
Merge pull request #19205 from twbs/modal-dialog-margin
Extract new $modal-dialog-margin variable
| -rw-r--r-- | scss/_modal.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss index a18c2ab97..8c5077d1c 100644 --- a/scss/_modal.scss +++ b/scss/_modal.scss @@ -40,7 +40,7 @@ .modal-dialog { position: relative; width: auto; - margin: 10px; + margin: $modal-dialog-margin; } // Actual modal diff --git a/scss/_variables.scss b/scss/_variables.scss index 1d7c67004..82558fdcc 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -626,6 +626,8 @@ $label-font-weight: bold !default; // Padding applied to the modal body $modal-inner-padding: 15px !default; +$modal-dialog-margin: 10px !default; + $modal-title-padding: 15px !default; $modal-title-line-height: $line-height-base !default; |
