-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Query Pagination: Remove unwanted bottom margins from links #51299
Comments
Good note, @iamtakashi! I believe the margin is there to deal with the scenario where those different elements are get really close to one another. Perhaps instead of an arbitrary |
@aurooba Thanks for sharing your thought. Whatever comes after the pagination block already has the top margin equivalent to the It feels safe to remove the bottom margin though I wonder if anyone knows the intention. |
Ah yes, I see what you're saying. For some reason I thought that the Since For those folks who have |
That's what I guess too.
That's a good question. Unlike a If Global Styles allows controlling the margins for the block, it'd be easier to remove it. Would that be a better solution? |
Those |
Because the Query Pagination block is flex, the I simply removed all of these margins (here and here) and tested it with a theme that doesn't support |
Description
It's minor, but I remove it in every theme I work on. The bottom margins
0.5em
on the block's links seem unnecessary, creating misalignment. Can we remove them?Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: