mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Add variable for modal breakpoint
This commit is contained in:
parent
5e4bf5ed55
commit
76ede5a75b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user