fix(SW-435): Added different height of Tripadvisor iframe between viewports
Approved-by: Matilda Landström
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
.iframe {
|
.iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1100px; /* Maximum(ish) content height on desktop without the need of scrolling */
|
height: 50dvh;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-radius: var(--Corner-radius-lg);
|
border-radius: var(--Corner-radius-lg);
|
||||||
}
|
}
|
||||||
@@ -54,6 +54,12 @@
|
|||||||
object-fit: contain;
|
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) {
|
@media screen and (max-width: 1366px) {
|
||||||
.subheading,
|
.subheading,
|
||||||
.sidebarHeading {
|
.sidebarHeading {
|
||||||
@@ -71,6 +77,7 @@
|
|||||||
.mainContent {
|
.mainContent {
|
||||||
grid-area: main;
|
grid-area: main;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
grid-area: sidebar;
|
grid-area: sidebar;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user