Skip to content

[1.x] feat: store image dimensions to prevent layout shifts on lazy-loaded images#478

Open
huoxin233 wants to merge 2 commits intoFriendsOfFlarum:1.xfrom
huoxin233:huoxin/1.x-fix-cls
Open

[1.x] feat: store image dimensions to prevent layout shifts on lazy-loaded images#478
huoxin233 wants to merge 2 commits intoFriendsOfFlarum:1.xfrom
huoxin233:huoxin/1.x-fix-cls

Conversation

@huoxin233
Copy link
Copy Markdown

Fixes #323
Supersedes #441

Changes proposed in this pull request:

Backport fix #464 to 1.x

Reviewers should focus on:

Screenshot

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).

Required changes:

@huoxin233 huoxin233 requested a review from a team as a code owner March 13, 2026 17:31
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

Successfully merging this pull request may close these issues.

2 participants