Add variable for modal breakpoint

This commit is contained in:
Justin Sleep 2020-09-02 15:54:33 -05:00 committed by Jeremy Thomas
parent 5e4bf5ed55
commit 76ede5a75b

View File

@ -28,6 +28,8 @@ $modal-card-foot-border-top: 1px solid $border !default
$modal-card-body-background-color: $scheme-main !default
$modal-card-body-padding: 20px !default
$modal-breakpoint: $tablet !default
.modal
@extend %overlay
align-items: center
@ -53,7 +55,7 @@ $modal-card-body-padding: 20px !default
position: relative
width: 100%
// Responsiveness
+tablet
+from($modal-breakpoint)
margin: 0 auto
max-height: calc(100vh - #{$modal-content-spacing-tablet})
width: $modal-content-width