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
F13187685: D19457.diff
Sat, May 11, 4:41 AM
F13174028: D19457.id46544.diff
Tue, May 7, 9:41 PM
Unknown Object (File)
Tue, May 7, 7:52 AM
Unknown Object (File)
Fri, May 3, 7:32 AM
Unknown Object (File)
Thu, Apr 25, 1:36 AM
Unknown Object (File)
Fri, Apr 19, 7:45 PM
Unknown Object (File)
Apr 11 2024, 9:16 AM
Unknown Object (File)
Mar 31 2024, 3:46 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