Skip to content

Center inserted images#8526

Merged
max-nextcloud merged 1 commit intomainfrom
Jerome-Herbinet-center-inserted-images
May 4, 2026
Merged

Center inserted images#8526
max-nextcloud merged 1 commit intomainfrom
Jerome-Herbinet-center-inserted-images

Conversation

@Jerome-Herbinet
Copy link
Copy Markdown
Member

@Jerome-Herbinet Jerome-Herbinet commented Apr 29, 2026

📝 Summary

This PR centers the inserted images and aligns them with their captions, which are already centered by default.
The issue was not apparent with large images that spanned the full width of the editing and display area.
However, with small images, the display was inconsistent.

This improvement will also have a positive impact on, for example, the content of the Collectives pages.

⚠️ Not tested : Test from reviewers is required.

🖼️ Screenshots

Before After
2026-04-29_09-44_1 2026-04-29_09-44

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Jerome-Herbinet Jerome-Herbinet force-pushed the Jerome-Herbinet-center-inserted-images branch from d5481e9 to 8135185 Compare April 30, 2026 08:54
Copy link
Copy Markdown
Collaborator

@silverkszlo silverkszlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thank you! :)

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
@Jerome-Herbinet Jerome-Herbinet force-pushed the Jerome-Herbinet-center-inserted-images branch from 8135185 to 07efd79 Compare May 4, 2026 09:36
@max-nextcloud max-nextcloud merged commit 364fef8 into main May 4, 2026
64 checks passed
@max-nextcloud max-nextcloud deleted the Jerome-Herbinet-center-inserted-images branch May 4, 2026 11:11
@silverkszlo
Copy link
Copy Markdown
Collaborator

/backport to stable33 please

@silverkszlo
Copy link
Copy Markdown
Collaborator

/backport to stable32 please

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

Labels

3. to review design Experience, interaction, interface, … feature: images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants