What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

pics overlapping on handys in portrait at flex row wrap

lagraf

New member
Joined
Aug 2, 2021
Messages
2
Reaction score
0
HTML Coins
0
Hi to anyone,
I've a flexbox table with row wrap which shows model pics. Pics are separated by column-gap 15px. All runs good at desktop, tablet, handy in landscape. But on android handy in portrait each row 3 pics are overlapping instead of 2 pics side by side delimited by 15px. Can someone help and tell me what's the problem?

Simple test you can find here: www.visagemodels.at/neu/test.html?mgid=2

Regards, Franz
 
The request was:
- flex-box row wrap with pics, max-width 200px
- reduce columns from 8 to 7, 6, 5, 4 when browser runs on smaller devices
- then reduce size of pics min-width 130px if browser is even narrower
- then reduce columns to 3 and 2 columns

I did it like the attached file and it does what it should.
Is this a good css or can I do something better?
 

Attachments

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back