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

Button preview is offscreen on a large button #12224

Closed
johngodley opened this issue Nov 22, 2018 · 1 comment
Closed

Button preview is offscreen on a large button #12224

johngodley opened this issue Nov 22, 2018 · 1 comment
Labels
[Block] Buttons Affects the Buttons Block [Type] Bug An existing feature does not function as intended

Comments

@johngodley
Copy link
Contributor

When changing the style on a large button the preview doesn't take into account the screen size.

Here is a big button:

edit_post_ _wordpress_latest_ _wordpress

Clicking the button style button (top left corner of the toolbar) and then hovering over a style results in this:

edit_post_ _wordpress_latest_ _wordpress_and_gutenberg_ _master__origin_master__8595_commits_

You can see that the preview area is offscreen.

To Reproduce
Steps to reproduce the behavior:

  1. Create a button
  2. Enter a substantial amount of text into the button
  3. Click button style in the block toolbar
  4. Hover over a style and note the preview is offscreen

Expected behavior
Preview to be onscreen!

@johngodley johngodley added [Type] Bug An existing feature does not function as intended [Block] Buttons Affects the Buttons Block labels Nov 22, 2018
@youknowriad
Copy link
Contributor

closed by #12205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Buttons Affects the Buttons Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants