/    Sign up×
Community /Pin to ProfileBookmark

Mobile Version Bug – Please Help

I have this site and on mobile version on this page: https://relaxed-swirles-9b73a7.netlify.com/design.html
Under the illustrations section the smaller images are stretch so much and I don’t know why.
Here is how it looks :
[upl-image-preview url=https://www.webdeveloper.com/assets/files/2019-07-02/1562076742-259352-66124698-2869975206377851-4446936141014237184-n.jpeg]

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;
}[/code]

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@SempervivumJul 02.2019 — I tried on Android (Samsung S4), Android- and Chrome-Browser and both are displaying the images correctly. Did you fix this issue in the meantime? Which browser did you use?
Copy linkTweet thisAlerts:
@codyhillauthorJul 02.2019 — @Sempervivum#1605716 yeah I did fixed it but I tough that I deleted this post...

I added to illustrations align-items: center; and it fixed the issue.
×

Success!

Help @codyhill spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.12,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...