-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
UI shell option for no padding on content #3010
Comments
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
Not stale |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
Not stale |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
As there's been no activity since this issue was marked as stale, we are auto-closing it. |
I ran in to the same issue, there is even a comment linked to this issue in the official Carbon React tutorial's index.scss.
Even if i use I see it can be compensated:
But for me this is a workaround, not an option. |
Hi @FabianPiconeDev - thanks for your comment. I agree that this override should not be required by everyone who uses the We are currently evaluating CSS Grid as part of our 2021 release. See #7538 CC @joshblack @tay1orjones can we make sure to look at the |
2rem padding was introduced on
bx--content
in 10.3.0.If you're using grid in UI shell,
bx--grid
sets the outermost 2rem padding.UI shell should have an option to not add padding to
bx--content
to give the application full control over its layout. Or, default to no padding and have an option (class) to add padding.The text was updated successfully, but these errors were encountered: