Skip to content

Stretched images on some imported pages #542

Description

@dd32

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; }

Activity

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