Missing disableGutters prop on Container
See original GitHub issuev4 Container API is missing disableGutters
. Padding left and right can’t be disabled on Container through prop as with other components.
- This is not a v0.x issue.
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior 🤔
<Container disableGutters>
should remove padding-left
and padding-right
.
Current Behavior 😯
disableGutters
prop is missing in Container
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Missing disableGutters prop on Container #15708 - GitHub
v4 Container API is missing disableGutters. Padding left and right can't be disabled on Container through prop as with other components.
Read more >How to Get Rid of Padding in Material UI Container Component?
The disableGutters prop removes the padding. Example: import React from "react"; import CssBaseline from "@material-ui/core/CssBaseline"; ...
Read more >material-ui/core/CHANGELOG.md - UNPKG
We are working on migrating the 48 missing components. ... 1573, - [Container] Add disableGutters prop (#15872) @divyanshutomar.
Read more >Using Material UI with React Apps: Getting started ... - WorksHub
P.S. In order to disable the margin on both sides of the container, you will set the maxwidth to false and also add...
Read more >CHANGELOG.old.md - mui/material-ui - Sourcegraph
[Box] Deprecate css prop in favor of sx (#23480) @mnajdova ... [Container] Add disableGutters prop (#15872) @divyanshutomar ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@TheHalcyonSavant I agree, this sounds like a good idea. Bootstrap comes with a default padding logic while tailwind makes you explicitly enable it. a
disableGutters
prop would be a great tradeoff. What do you think of this change?Do you want to submit a pull request? 😃
love to only remove gutter from right