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

Fix grid direction, when group element has negative margin #566

Conversation

mkszepp
Copy link
Contributor

@mkszepp mkszepp commented Jul 12, 2024

While using direction grid in our app i have discoverd, that moving to first position of group isn't working.

The bug occures, when the group has a negativ margin on left.
This is caused, because we are using a grid system like bootstrap, which brings on row's negative margins.

To support this, i have updated the grid demo and added a minimal fix.

@mkszepp mkszepp changed the title Fix grid direction, when group has negative margin Fix grid direction, when group element has negative margin Jul 12, 2024
@mkszepp
Copy link
Contributor Author

mkszepp commented Jul 12, 2024

Like talked over DM, we are readding old test case

@NullVoxPopuli NullVoxPopuli merged commit 126048e into adopted-ember-addons:master Jul 12, 2024
16 checks passed
@github-actions github-actions bot mentioned this pull request Jul 12, 2024
@mkszepp mkszepp deleted the fix-grid-negative-container-margin branch July 12, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants