Skip to content

Fix for tall right-aligned images in description

What does this MR do and why?

When a tall image is added and align="right" attribute is set on it, it can cause layout issues. This MR fixes that.

This is a fix for #231464 (closed)

Screenshots or screen recordings

Before After
gdk.test_3000_flightjs_Flight_-issues_42__2 gdk.test_3000_flightjs_Flight_-_issues_42

How to set up and validate locally

  1. Check out this branch locally
  2. Create a new issue
  3. Add a right-aligned tall image to the issue description, this can easily be done by adding <img src="https://via.placeholder.com/289x1000" align="right" /> to your description
  4. You should see that the image does not cause layout issues on the issue page.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #231464 (closed)

Edited by Chad Lavimoniere

Merge request reports