Page MenuHomePhabricator

Set "max-width: 100%" on "size=full" Remarkup images
ClosedPublic

Authored by epriestley on Jun 27 2014, 5:18 PM.
Tags
None
Referenced Files
F19919387: D9758.diff
Sun, Apr 5, 2:34 AM
F19872302: D9758.id23430.diff
Sun, Mar 15, 12:57 PM
F19824541: D9758.id23429.diff
Mar 8 2026, 12:16 AM
F19814952: D9758.id23431.diff
Mar 4 2026, 4:48 PM
F19813579: D9758.id23431.diff
Mar 4 2026, 9:52 AM
F19799863: D9758.id.diff
Feb 28 2026, 6:31 AM
F19785100: D9758.diff
Feb 24 2026, 9:23 PM
F19684879: D9758.diff
Feb 9 2026, 6:31 AM
Subscribers

Details

Summary

Fixes T5500. When an image is embedded with {Fxx, size=full}, add "max-width: 100%;" so that large images are scaled down to the size of the container. This seems like a better and more reasonable behavior than having them scroll. You can still lightbox them or right-click -> view if you really want the full image.

Test Plan

Dragged window around with a very large size=full image. At large window sizes, the image displayed at 100%. At smaller window sizes, the image was scaled to fit.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Set "max-width: 100%" on "size=full" Remarkup images.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 27 2014, 5:27 PM
epriestley updated this revision to Diff 23431.

Closed by commit rP32a42f37feb0 (authored by @epriestley).