Fix image sizes in Markdown content.

Review Request #10542 — Created April 25, 2019 and submitted

chipx86
Review Board
release-3.0.x
aa3d7da...
reviewboard

Overly-large images would overflow the rendered Markdown field, and this
was easy to have happen when dropping in high-DPI screenshots into a
text field. We now cap the width to the container width, preserving the
aspect ratio, so that it appears correct.

Tested with some large images. Saw that they no longer overflowed.

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (9efdc01)
Loading...