Page MenuHomePhabricator

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

Authored by epriestley on Jun 1 2018, 8:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 7, 9:45 PM
Unknown Object (File)
Sat, Dec 2, 1:00 AM
Unknown Object (File)
Thu, Nov 30, 3:48 AM
Unknown Object (File)
Sat, Nov 25, 7:29 PM
Unknown Object (File)
Thu, Nov 23, 8:15 AM
Unknown Object (File)
Fri, Nov 17, 9:15 PM
Unknown Object (File)
Thu, Nov 16, 6:54 PM
Unknown Object (File)
Sun, Nov 12, 3:25 PM
Subscribers
None

Details

Summary

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable