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)
Sat, Aug 13, 7:21 PM
Unknown Object (File)
Thu, Aug 11, 2:58 AM
Unknown Object (File)
Sat, Aug 6, 4:50 AM
Unknown Object (File)
Tue, Aug 2, 5:59 AM
Unknown Object (File)
Wed, Jul 27, 5:12 AM
Unknown Object (File)
Jul 14 2022, 10:17 PM
Unknown Object (File)
Jul 13 2022, 1:15 AM
Unknown Object (File)
Jun 13 2022, 10:44 AM
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