Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Images not loading in full size when Gutenberg plugin is active. #96477

Open maciejpilarski opened 5 days ago

maciejpilarski commented 5 days ago

Quick summary

When the Gutenberg plugin is active on Business plan subscriptions, the images are not loading properly, they are too small, different from what is visible in the Editor:

Image

Steps to reproduce

  1. Navigate to the site adammoorecreate.com when Gutenberg is active. The images are loading small.
  2. Deactivate the Gutenberg plugin on the site, images are loading correctly.

What you expected to happen

Images to load properly.

What actually happened

Images are loading small.

Impact

Most (> 50%)

Available workarounds?

Yes, easy to implement

If the above answer is "Yes...", outline the workaround.

Add the following CSS code:

img:is([sizes="auto" i], [sizes^="auto," i]) {
    width:100% !important;
}

Or, deactivate the Gutenberg plugin if the above CSS code doesn't work.

Platform (Simple and/or Atomic)

No response

Logs or notes

WordPress Version: 6.7 Gutenberg Version: 19.6.2

maciejpilarski commented 5 days ago

9052471-zen

maciejpilarski commented 5 days ago

9052425-zen

github-actions[bot] commented 5 days ago

OpenAI suggested the following labels for this issue:

daria2303 commented 5 days ago

9052487-zd-a8c

Only in Chrome, deactivating Gutenberg helped.

github-actions[bot] commented 5 days ago

Support References

This comment is automatically generated. Please do not edit it.