WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.39k stars 4.15k forks source link

Media and Text Block is stretched at the frontend #31665

Closed evakaneva closed 3 years ago

evakaneva commented 3 years ago

Description

Images from the media and text block show as expected in the preview but are stretched on the frontend.

Step-by-step reproduction instructions

  1. Create a media and text block
  2. Add image and text
  3. Save/publish
  4. Open post on the frontend
  5. Observe it is stretched

Expected behaviour

I would expect that the frontend looks exactly like the preview.

Actual behaviour

At the frontend, images from the media and text block are stretched.

Screenshots or screen recording (optional)

stretchbugmediatextblock

Code snippet (optional)

WordPress information

Device information

evakaneva commented 3 years ago

I noticed it doesn't happen with other themes. So it is a TT1 blocks specific issue. I created https://github.com/WordPress/theme-experiments/issues/259