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
F15419540: D19457.diff
Fri, Mar 21, 6:54 AM
F15384224: D19457.id.diff
Fri, Mar 14, 7:12 PM
F15383044: D19457.id46544.diff
Fri, Mar 14, 3:22 PM
F15340668: D19457.diff
Sun, Mar 9, 4:05 PM
Unknown Object (File)
Fri, Feb 28, 2:30 AM
Unknown Object (File)
Tue, Feb 25, 2:07 AM
Unknown Object (File)
Jan 29 2025, 5:06 PM
Unknown Object (File)
Jan 29 2025, 5:06 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