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

Quote block: Top padding added when selecting #50614

Closed
hanneslsm opened this issue May 13, 2023 · 3 comments
Closed

Quote block: Top padding added when selecting #50614

hanneslsm opened this issue May 13, 2023 · 3 comments
Labels
[Feature] Block Multi Selection The ability to select and manipulate multiple blocks [Type] Bug An existing feature does not function as intended

Comments

@hanneslsm
Copy link

hanneslsm commented May 13, 2023

Description

When the quote block is selected, a top padding is added which makes it jump.

Step-by-step reproduction instructions

  1. Select the quote block

Screenshots, screen recording, code snippet

Screen.Recording.2023-05-13.at.13.49.03.mov

Environment info

  • WP 6.2
  • GB 15.7.1

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

@ndiego ndiego added Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended [Block] Quote Affects the Quote Block and removed Needs Testing Needs further testing to be confirmed. labels May 16, 2023
@Mamaduka Mamaduka added [Feature] Block Multi Selection The ability to select and manipulate multiple blocks [Block] Quote Affects the Quote Block and removed [Block] Quote Affects the Quote Block labels May 16, 2023
@ndiego ndiego removed the [Block] Quote Affects the Quote Block label May 16, 2023
@ndiego
Copy link
Member

ndiego commented May 16, 2023

I am able to replicate it. I am going to add it to the UX & Polish project for consideration.
quote-select-padding

@cbirdsong
Copy link

This may be able to be improved with overflow: clip and/or overflow-clip-margin. Browser support is currently a mixed bag on those, but if it's an easy fix with those and a more complicated fix otherwise then it might be an acceptable tradeoff?

@t-hamano
Copy link
Contributor

The problem stems from the fact that overflow:hidden is applied when multiple blocks are selected. And this problem seems to have been resolved in #50215.

I would like to close this issue, but if the issue remains, you are welcome to reopen it at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block Multi Selection The ability to select and manipulate multiple blocks [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

5 participants