1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Merge pull request #19206 from twbs/modal-dialog-sm-up-margin-y

Extract $modal-dialog-sm-up-margin-y variable
This commit is contained in:
Chris Rebert 2016-02-15 23:35:05 -08:00
commit c7be6883ae
2 changed files with 2 additions and 1 deletions

View file

@ -117,7 +117,7 @@
// Automatically set modal's width for larger viewports // Automatically set modal's width for larger viewports
.modal-dialog { .modal-dialog {
max-width: $modal-md; max-width: $modal-md;
margin: 30px auto; margin: $modal-dialog-sm-up-margin-y auto;
} }
.modal-content { .modal-content {

View file

@ -627,6 +627,7 @@ $label-font-weight: bold !default;
$modal-inner-padding: 15px !default; $modal-inner-padding: 15px !default;
$modal-dialog-margin: 10px !default; $modal-dialog-margin: 10px !default;
$modal-dialog-sm-up-margin-y: 30px !default;
$modal-title-padding: 15px !default; $modal-title-padding: 15px !default;
$modal-title-line-height: $line-height-base !default; $modal-title-line-height: $line-height-base !default;