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

[Grid] Remove width prop for rowSpacing #27326

Merged
merged 1 commit into from Jul 19, 2021

Conversation

sashkopavlenko
Copy link
Contributor

@sashkopavlenko sashkopavlenko commented Jul 16, 2021

No need to set width for rowSpacing as it makes Grid container wider than its parent.
Example: https://codesandbox.io/s/blazing-night-49tx4

Preview: https://deploy-preview-27326--material-ui.netlify.app/components/grid/

@mui-pr-bot
Copy link

mui-pr-bot commented Jul 16, 2021

Details of bundle changes (experimental)

Generated by 🚫 dangerJS against 2e8906c

@eps1lon eps1lon added bug 🐛 Something doesn't work component: Grid The React component. labels Jul 17, 2021
@oliviertassinari oliviertassinari changed the title [Grid] remove width prop for rowSpacing [Grid] Remove width prop for rowSpacing Jul 17, 2021
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that for this use case, prefer using the Stack component.

@eps1lon eps1lon merged commit fec83a4 into mui:next Jul 19, 2021
@eps1lon
Copy link
Member

eps1lon commented Jul 19, 2021

@sashkopavlenko It's a great first pull request on Material-UI. Thank you for working on it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: Grid The React component.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants