Add fixed media rules for gallery items
This commit is contained in:
parent
f2a72eb050
commit
21edf97431
1 changed files with 2 additions and 2 deletions
|
@ -355,7 +355,7 @@ body{
|
||||||
|
|
||||||
@media (max-aspect-ratio: 1/1) {
|
@media (max-aspect-ratio: 1/1) {
|
||||||
.gallery-item {
|
.gallery-item {
|
||||||
height: 30vh;
|
height: 30rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -363,7 +363,7 @@ body{
|
||||||
|
|
||||||
@media (max-height: 480px) {
|
@media (max-height: 480px) {
|
||||||
.gallery-item {
|
.gallery-item {
|
||||||
height: 80vh;
|
height: 80rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue