Skip to content
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

Stretched images on some imported pages #542

Open
dd32 opened this issue Sep 26, 2024 · 0 comments
Open

Stretched images on some imported pages #542

dd32 opened this issue Sep 26, 2024 · 0 comments

Comments

@dd32
Copy link
Member

dd32 commented Sep 26, 2024

https://developer.wordpress.org/block-editor/explanations/user-interface/

As reported on slack:
https://wordpress.slack.com/archives/C02RP4WU5/p1727329809416399

It looks like the imported docs from github are the issue:
<img data-recalc-dims="1" height="3000" width="3000" decoding="async" src="https://i0.wp.com/cldup.com/3tQqIncKPB-3000x3000.png?resize=3000%2C3000&amp;ssl=1" alt="Block Interface"> but that is sourced from just ![Block Interface](https://cldup.com/3tQqIncKPB-3000x3000.png)

This might be something that should be fixed in the importer, rather than the developer theme, but logging here since I guess it's being shown badly by the theme..

Screenshot:
Screenshot 2024-09-26 at 4 04 43 pm

The below CSS fixes this page, but might break other things:
img[data-recalc-dims] { width: auto; height: auto; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant