fixed img css

This commit is contained in:
2024-09-24 00:58:20 -07:00
parent eaf21e05a7
commit de80fe8b28
+4 -3
View File
@@ -185,6 +185,7 @@ article .header {
font-size: 1.8rem; font-size: 1.8rem;
} }
} }
/* Next & previous buttons */ /* Next & previous buttons */
.prev, .next { .prev, .next {
cursor: pointer; cursor: pointer;
@@ -215,14 +216,14 @@ article .header {
} }
.photo { .photo {
display: none; display: none;
max-height: 50%; flex: 1;
flex: 1;
} }
.photo > img { .photo > img {
max-width: 100%; max-width: 100%;
height: 50vh; height: 50vh;
object-fit: contain;
} }
.svg-img { .svg-img {