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)
Tue, Nov 19, 7:50 AM
Unknown Object (File)
Tue, Nov 19, 7:49 AM
Unknown Object (File)
Tue, Nov 19, 7:49 AM
Unknown Object (File)
Tue, Nov 19, 7:23 AM
Unknown Object (File)
Tue, Nov 19, 4:48 AM
Unknown Object (File)
Thu, Nov 14, 6:59 PM
Unknown Object (File)
Sun, Nov 10, 4:50 PM
Unknown Object (File)
Thu, Nov 7, 12:22 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