fix(SW-435): Added different height of Tripadvisor iframe between viewports

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-06-05 05:34:57 +00:00
parent 25a9a3e439
commit 714b5f06c7

View File

@@ -42,7 +42,7 @@
.iframe {
width: 100%;
height: 1100px; /* Maximum(ish) content height on desktop without the need of scrolling */
height: 50dvh;
border-width: 0;
border-radius: var(--Corner-radius-lg);
}
@@ -54,6 +54,12 @@
object-fit: contain;
}
@media screen and (min-width: 768px) {
.iframe {
height: 1150px; /* Maximum(ish) content height on desktop without the need of scrolling */
}
}
@media screen and (max-width: 1366px) {
.subheading,
.sidebarHeading {
@@ -71,6 +77,7 @@
.mainContent {
grid-area: main;
}
.sidebar {
grid-area: sidebar;
}