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

Correct margin collapse #1237

Merged

Conversation

arjanmels
Copy link
Contributor

@arjanmels arjanmels commented Mar 4, 2023

This PR addresses Issue #1155 with the margins not collapsing properly between blocks.

Fixes #1155

Copy link
Owner

@Sub6Resources Sub6Resources left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! It might be clearer to explicitly set one of the margins to 0, and the other to newInternalMargin, but I don't mind this approach, since it is clearly less verbose, although it could result in negative margins (which isn't a problem, but could be confusing for people trying to debug).

@Sub6Resources Sub6Resources merged commit e6e0381 into Sub6Resources:master May 9, 2023
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

Successfully merging this pull request may close these issues.

[BUG] Top margin gets set to '[text]' margin
2 participants