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

Need to find a way to dynamicly resize #1

Open
Weltgeist opened this issue Nov 4, 2023 · 0 comments
Open

Need to find a way to dynamicly resize #1

Weltgeist opened this issue Nov 4, 2023 · 0 comments

Comments

@Weltgeist
Copy link
Owner

Weltgeist commented Nov 4, 2023

Currently Business List component gets all business data in array format from the Apps component props.
It then passes down that data to a Business Card Component using props and uses Row & Col & Contrainer from React Boostrap to make a grid layout.

I'm using

    //Splitting Columns into a grid
    const gridItems = chunk(listItems,4);

to split the list into 4 items per row.

Need to find a way to dynamically change row on window resize,
1400px + 4 items
1200-1400 px - 3 items
under 1200px 2 items.

currently:
From this:
image

to this:
image

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