Fix: Trying to avoid content clipping on certain screen sizes
This commit is contained in:
parent
80d3c11acc
commit
916be398f7
1 changed files with 14 additions and 2 deletions
|
|
@ -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,10 +215,18 @@ h1 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemBackdrop {
|
@media (max-height: 31.25em) {
|
||||||
height: 45vh;
|
.itemBackdrop {
|
||||||
|
height: 62vh;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* @media (max-width: 62.5em) {
|
||||||
|
.layout-desktop .itemBackdrop {
|
||||||
|
height: 5vh;
|
||||||
|
}
|
||||||
|
} */
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue