Skip to content

1852 - Grid layout settings as parameters #1976

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

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

Ateina
Copy link
Contributor

@Ateina Ateina commented Apr 19, 2025

Q A
Bug fix? [ ]
New feature? [ x ]
New sample? [ ]

What's in this Pull Request?

This update adds optional parameters to the GridLayout component to support customizable layout behavior:
itemMinWidth
itemMaxWidth
itemPadding
compactThreshold
rowsPerPage

Note: If GridLayout contains DocumentCard items, a custom width style must be applied to override the default Fluent UI DocumentCard styles (min-width: 206px; max-width: 320px). Without this, the out-of-the-box styles will interfere with the layout configuration.

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

Successfully merging this pull request may close these issues.

1 participant