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

LayoutGrid horizontal margin #1955

Open
NietoGX opened this issue Jan 18, 2022 · 1 comment
Open

LayoutGrid horizontal margin #1955

NietoGX opened this issue Jan 18, 2022 · 1 comment
Assignees

Comments

@NietoGX
Copy link
Collaborator

NietoGX commented Jan 18, 2022

Is your iteration request related to a problem?
By default the Layout grid has a horizontal negative margin which produces a horizontal scroll:
margin: 0 -4px;

Describe the solution you'd like
If we wrap the LayoutGrid with a div with margin, this problem is solved, but I suggest to insert a prop property(for example) for solving this problem.

Additional context
This is the default Layout's styles:
.sui-LayoutGrid { display: flex; flex-wrap: wrap; list-style: none; margin: 0 -4px; row-gap: 8px; }

@turolopezsanabria
Copy link
Contributor

@klaufel @nucliweb can you help with this one?

@andresin87 andresin87 self-assigned this Jan 26, 2022
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

No branches or pull requests

3 participants