fixed img css
This commit is contained in:
+2
-1
@@ -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;
|
||||||
@@ -216,13 +217,13 @@ 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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user