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
F12827868: D19457.id46544.diff
Thu, Mar 28, 10:26 AM
Unknown Object (File)
Fri, Mar 1, 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
Unknown Object (File)
Feb 3 2024, 6:57 PM
Unknown Object (File)
Feb 3 2024, 6:57 PM
Unknown Object (File)
Jan 25 2024, 1:09 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