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
F13061638: D19457.diff
Fri, Apr 19, 7:45 PM
Unknown Object (File)
Thu, Apr 11, 9:16 AM
Unknown Object (File)
Sun, Mar 31, 3:46 PM
Unknown Object (File)
Thu, Mar 28, 10:26 AM
Unknown Object (File)
Mar 1 2024, 3:58 AM
Unknown Object (File)
Feb 21 2024, 11:51 AM
Unknown Object (File)
Feb 8 2024, 11:58 AM
Unknown Object (File)
Feb 3 2024, 6:57 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