Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive Row Height #34

Open
adampatterson opened this issue Jul 4, 2020 · 1 comment
Open

Responsive Row Height #34

adampatterson opened this issue Jul 4, 2020 · 1 comment

Comments

@adampatterson
Copy link

adampatterson commented Jul 4, 2020

Hello!

First of all, thanks for creating this script. It was very easy to get up and running!

I am trying to responsively adjust the mosaic.

On the desktop, I have 16 images taking up 2 rows with a max row height of 500.

    $('#mosaic').Mosaic({
        maxRows: 2,
        maxRowHeight: 500,
        outerMargin: 0,
        innerGap: 0,
        maxItemsToShowWhenResponsiveThresholdSurpassed: 8
    });

The result for me on a mobile device is two rows of very large images.

Is it possible to set a responsive row height?

Thanks again!

@adampatterson
Copy link
Author

Any suggestions?

This site went live and the client's feedback was "why are there to large images in the gallery"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant