-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Setting image to > 75% width makes it break out of block boundary & causes horizontal scrolling #17795
Labels
Comments
#17685 could be a related issue. |
talldan
added
[Type] Bug
An existing feature does not function as intended
Needs Testing
Needs further testing to be confirmed.
labels
Dec 16, 2019
This still breaks in WP 5.4 beta 3 |
talldan
added
[Block] Image
Affects the Image Block
and removed
Needs Testing
Needs further testing to be confirmed.
labels
Jul 21, 2020
This was referenced Feb 8, 2021
I tested this with Gutenberg plugin version 15.8.1. |
Closing this as a dupe of #12168 - and consolidating there. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
I added a Group Block and set it to Full width. Within the Group Block, I added a Paragraph block and a Columns Block with 2 columns. In the Columns block I added a Paragraph block and an image block.
If I set the image width to greater than 75%, the image extends outside the block boundaries and causes horizontal scrolling.
Have tested on TwentyTwenty:
Vid - https://cl.ly/87c20a637044
TwentyNineteen:
Vid - https://cl.ly/fae20963cdfe
And multiple other themes. All had the same issue.
Regardless of whether you set the Group Block width to Wide, Full or nothing, the same issues occurs.
Here's a screenshot of an image in both columns, with the same issue occurring:
:
To reproduce
Steps to reproduce the behavior:
Expected behavior
Content should never expand outside of block boundaries
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: