Quote FormPage
/* Container stretches to the width of the Wix section/column */
.sm-embed {
width: 100%;
max-width: 100%;
margin: 0 auto;
}
/* iOS-friendly responsive width trick: width:1px + min-width:100% */
.sm-embed iframe {
display: block;
width: 1px;
min-width: 100%;
border: 0;
/* Use viewport-based height; avoid fixed 880px */
height: 80vh; /* fills most of the screen on mobile */
min-height: 520px; /* keeps it usable on very short screens */
max-width: 100%;
}
/* Small phones */
@media (max-width: 480px) {
.sm-embed iframe {
height: 85vh;
min-height: 500px;
}
}
/* Tablets */
@media (min-width: 481px) and (max-width: 1023px) {
.sm-embed iframe {
height: 75vh;
min-height: 560px;
}
}
/* Desktops/laptops */
@media (min-width: 1024px) {
.sm-embed iframe {
height: 880px;
min-height: 680px;
}
}