Fix images too big for portrait

This commit is contained in:
Alexander Wainwright
2025-04-13 17:14:42 +10:00
parent 13a1b4cc50
commit 7d9a1ed704

View File

@@ -54,6 +54,18 @@ body {
animation: fadeInScale 1s ease forwards;
}
.content img {
max-width: 90vw;
max-height: 90vh;
object-fit: contain;
height: auto;
width: auto;
}
.gallery img:hover {
transform: scale(1.2);
}
.gallery img[src],
.content img[src] {
opacity: 1;