-
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
Site Editor: Tablet Preview cuts off bottom part of template #37708
Comments
Updated after testing with RC1 :) |
Unfortunately, I couldn't reproduce the issue. So please, let me know if I'm missing any steps. Tested with WP 5.9 RC 1 and Gutenberg trunk. ScreencastCleanShot.2022-01-05.at.20.32.51.mp4 |
@Mamaduka curious what browser you're using and if that makes a difference here? I was using Chrome and can still replicate today :D |
Chrome/MacOS |
From @costdev in slack:
|
I'm also able to reproduce it on Chrome 1920x1080. |
I also could reproduce this issue on Mac OS Chrome. |
@jasmussen, @jameskoster, do you mind having a look at this? I'm pretty sure it's an overflow issue, but I can't point my finger on it 😄 |
Yup it's cause by this line: https://github.com/WordPress/gutenberg/blob/trunk/packages/edit-site/src/components/editor/style.scss#L35 which was added in #35974. Perhaps @kevin940726 can confirm why we need that rule and if there's an alternative approach we could try. |
Description
In the Site Editor, using the Preview option to see the Tablet view cuts off the bottom part of the template being edited. This only happens with the Site Editor (rather than Template editor).
Originally noted in core-test slack here: https://wordpress.slack.com/archives/C03B0H5J0/p1641303448050400?thread_ts=1641303130.049800&cid=C03B0H5J0
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Updated video:
preview.cut.off.mov
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: