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

Removed paragraph margin gap styles. They no longer seem to be needed. #4845

Merged
merged 3 commits into from
Oct 15, 2021

Conversation

pbking
Copy link
Contributor

@pbking pbking commented Oct 14, 2021

Before:

Editor:

View:

After:

Editor:

View:

Brought to light via #4842

@pbking pbking linked an issue Oct 14, 2021 that may be closed by this pull request
@scruffian
Copy link
Member

scruffian commented Oct 14, 2021

I think we can remove the margin-top for :first-child

However, it looks like the paragraph margins are still needed, see #4738. We need the gaps between paragraph blocks to be 1em, rather than whatever block gap is.

Copy link
Member

@scruffian scruffian left a comment

Choose a reason for hiding this comment

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

LGTM

@scruffian scruffian merged commit a0c8030 into trunk Oct 15, 2021
@scruffian scruffian deleted the fix/4842 branch October 15, 2021 07:24
@pbking
Copy link
Contributor Author

pbking commented Oct 15, 2021

As it exists now the gap between paragraphs in a group also includes a bottom gap which is not the case by default.

If using the same block gap isn't desirable then I think we may still need to tweak the styles to keep it more correct in that scenario.

@scruffian
Copy link
Member

Yeah good catch

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.

Blockbase: Broken margins for buttons in a group.
2 participants