@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add "max-width: 100%;" to stop large images from overflowing the new rendering engine UI

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.

Reviewers: amckinley, avivey

Reviewed By: avivey

Maniphest Tasks: T13148, T13105

Differential Revision: https://secure.phabricator.com/D19457

+4 -3
+3 -3
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => 'e68cf1fa', 11 11 'conpherence.pkg.js' => '15191c65', 12 - 'core.pkg.css' => '8be474cc', 12 + 'core.pkg.css' => '8e3d1fb7', 13 13 'core.pkg.js' => '2058ec09', 14 14 'differential.pkg.css' => '06dc617c', 15 15 'differential.pkg.js' => 'c2ca903a', ··· 167 167 'rsrc/css/phui/phui-object-box.css' => '9cff003c', 168 168 'rsrc/css/phui/phui-pager.css' => 'edcbc226', 169 169 'rsrc/css/phui/phui-pinboard-view.css' => '2495140e', 170 - 'rsrc/css/phui/phui-property-list-view.css' => 'de4754d8', 170 + 'rsrc/css/phui/phui-property-list-view.css' => '546a04ae', 171 171 'rsrc/css/phui/phui-remarkup-preview.css' => '54a34863', 172 172 'rsrc/css/phui/phui-segment-bar-view.css' => 'b1d1b892', 173 173 'rsrc/css/phui/phui-spacing.css' => '042804d6', ··· 842 842 'phui-oi-simple-ui-css' => 'a8beebea', 843 843 'phui-pager-css' => 'edcbc226', 844 844 'phui-pinboard-view-css' => '2495140e', 845 - 'phui-property-list-view-css' => 'de4754d8', 845 + 'phui-property-list-view-css' => '546a04ae', 846 846 'phui-remarkup-preview-css' => '54a34863', 847 847 'phui-segment-bar-view-css' => 'b1d1b892', 848 848 'phui-spacing-css' => '042804d6',
+1
webroot/rsrc/css/phui/phui-property-list-view.css
··· 207 207 .document-engine-image img { 208 208 margin: 20px auto; 209 209 background: url('/rsrc/image/checker_light.png'); 210 + max-width: 100%; 210 211 } 211 212 212 213 .device-desktop .document-engine-image img:hover {