1
0
Fork 0

fixed img css

master
Rostyslav Hnatyshyn 2 months ago
parent eaf21e05a7
commit de80fe8b28
  1. 3
      css/default.scss

@ -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 {

Loading…
Cancel
Save