Page MenuHomePhabricator

Add "max-width: 100%;" to stop large images from overflowing the new rendering engine UI

Authored by epriestley on Jun 1 2018, 8:14 PM.



Fixes T13148. Ref T13105. The new document rendering engine for images let them overflow the UI bounds.

Add max-width: 100%; to keep them contained.

Test Plan
  • Viewed a very wide image in Safari, Firefox and Chrome. Saw sensible rendering.
  • Also viewed a normal image, saw normal behavior.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Jun 1 2018, 8:14 PM
epriestley requested review of this revision.Jun 1 2018, 8:15 PM
avivey accepted this revision.Jun 1 2018, 8:24 PM


This revision is now accepted and ready to land.Jun 1 2018, 8:24 PM
This revision was automatically updated to reflect the committed changes.