Skip to content

Media and Text Block is stretched at the frontend #31665

Closed

Description

@evakaneva

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

  • WordPress version: 5.7.1
  • Gutenberg version: Version 10.4.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Yes, TT1 Blocks

Device information

  • Device: Desktop
  • Operating system: Big Sur 11.1
  • Browser: Chrome Version 90.0.4430.72

Activity

  1. evakaneva commented on May 10, 2021

    @evakaneva
    Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions