|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 767.98px) {
/* Popup width on phones */
.s_popup .modal-dialog {
max-width: 85vw !important;
width: 85vw;
margin: auto;
}
/* Cap the height and stop full-screen behaviour */
.s_popup .modal-content {
max-height: 75vh;
overflow: hidden;
}
.s_popup .modal-content > section,
.s_popup .modal-content .o_full_screen_height,
.s_popup .modal-content .o_half_screen_height {
min-height: 0 !important;
height: auto !important;
}
/* If the graphic is a background image: show all of it */
.s_popup .modal-content [style*="background-image"],
.s_popup .modal-content .s_parallax_bg {
background-size: contain !important;
background-repeat: no-repeat;
background-position: center;
aspect-ratio: 4 / 5; /* set this to your flyer's ratio */
}
/* If the graphic is an : scale it down */
.s_popup .modal-content img {
width: 100%;
height: auto;
max-height: 75vh;
object-fit: contain;
}
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|