diff --git a/build/scss/_modals.scss b/build/scss/_modals.scss index ffca5aa4e..85188d864 100644 --- a/build/scss/_modals.scss +++ b/build/scss/_modals.scss @@ -5,15 +5,19 @@ // Overlay .modal-dialog { .overlay { - background-color: $black; - display: block; - height: 100%; - left: 0; - opacity: .7; + display: flex; position: absolute; + left: 0; top: 0; - width: 100%; + bottom: 0; + right: 0; + margin: -$modal-content-border-width; z-index: ($zindex-modal + 2); + justify-content: center; + align-items: center; + background-color: rgba($black, .7); + color: darken($gray-600, 2.5%); + @include border-radius($modal-content-border-radius); } } diff --git a/pages/UI/modals.html b/pages/UI/modals.html index a3a5b53bb..46b63a675 100644 --- a/pages/UI/modals.html +++ b/pages/UI/modals.html @@ -1046,7 +1046,7 @@