Fix: Trying to avoid content clipping on certain screen sizes

This commit is contained in:
lscambo13
2024-12-11 09:55:58 -08:00
parent 80d3c11acc
commit 916be398f7

View File

@@ -204,6 +204,10 @@ h1 {
margin-top: -40vh; margin-top: -40vh;
} }
.itemBackdrop {
height: 50vh;
}
@media (orientation: portrait) and (max-width: 40em) { @media (orientation: portrait) and (max-width: 40em) {
.layout-mobile .itemBackdrop { .layout-mobile .itemBackdrop {
height: 40vh; height: 40vh;
@@ -211,9 +215,17 @@ h1 {
} }
} }
@media (max-height: 31.25em) {
.itemBackdrop { .itemBackdrop {
height: 45vh; height: 62vh;
} }
}
/* @media (max-width: 62.5em) {
.layout-desktop .itemBackdrop {
height: 5vh;
}
} */
h2 { h2 {
font-size: 1.25em; font-size: 1.25em;