When I resize the image, it goes beyond the parent content. #28617
Labels
[Block] Image
Affects the Image Block
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Bug
An existing feature does not function as intended
!!! : I'm sorry, I sent it in the middle of writing. I'm writing the continuation now.
Thank you for your development.
Please note that English may be inappropriate because you are Japanese.
Description
When I resize the image, it goes beyond the parent content. The image may stick out when some conditions are met.
###Case 1 : In the default theme, it happens just by changing the "% size" of the image.
This issue can be prevented by controlling max-width in .components-resizable-box__container.
For example, I was able to solve it by adding the following CSS.
Case 2 : Further problems occur when moving blocks.
I don't know the specific conditions yet, but for example, this problem may occur when moving an image to a column-block.
It cannot be solved if it is a solution to Case1.
For example, the theme "Arkhe" includes CSS that solves Case 1, but this Case 2 has occurred further.
( "Arkhe": https://ja.wordpress.org/themes/arkhe/ )
When this problem occurred, I looked into the DOM and noticed that the
.components-resizable-box__container
class did not exist.Case 3 : As with Case 2,
.components-resizable-box__container
does not exist for mobile size.The following image is a screenshot without the "% size" specified.
And the following image is a screenshot with "% size" specified.
WordPress information
Device information
The text was updated successfully, but these errors were encountered: