I have this site and on mobile version on this page:
Under the illustrations section the smaller images are stretch so much and I don’t know why.
Here is how it looks :
And here is the code:
[code].illustration__container {
margin-bottom: 20px;
max-width: 1200px;
margin: auto;
}
.main-illustration img {
width: 300px;
height: auto;
padding: 20px 0;
}
.main-illustration {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0 20px;
}
.illustrations img {
width: 150px;
height: auto;
display: block;
}
.illustrations {
display: flex;
justify-content: center;
margin: 20px 15px;
flex-wrap: wrap;
}