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

Is it possible to remove the default padding-left in a grid? #1734

Open
remyvdwereld opened this issue Nov 1, 2024 · 2 comments
Open

Is it possible to remove the default padding-left in a grid? #1734

remyvdwereld opened this issue Nov 1, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@remyvdwereld
Copy link

Describe the issue

When using a Grid, there is a default padding-left. Is it possible to remove this or create a property for this?

Now I have to add an extra style={{ paddingLeft: 0 }}.

Sandbox

@RubenSibon RubenSibon added the enhancement New feature or request label Nov 1, 2024
@VincentSmedinga
Copy link
Contributor

I’m afraid not. The Grid is intended for page-wide layout only, and its horizontal whitespace is essential to prevent content from touching the edge of the window. What’s the reason to remove this white space?

Have you seen our example form? Can you set up your form just like it?

@remyvdwereld
Copy link
Author

remyvdwereld commented Nov 4, 2024

I have a default layout for my pages with a padding-left. I use the Grid with a form in one page so that means another padding-left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants