@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.

Making `size=full` images have a shadow and be inline-block so the space next to them isn't clickable Fixes #4902

Summary: Added .phabricator-remarkup-embed-image to full size images as well

Test Plan: Add an image e.g. `{F123, size=full}` and verify that it has a shadow and the space next to it isn't clickable

Reviewers: chad, epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: chad, epriestley, Korvin

Maniphest Tasks: T4902

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

authored by

Michael Peters and committed by
epriestley
b6fa4856 a46ead79

+5
+1
src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php
··· 98 98 'width' => $file->getImageWidth(), 99 99 'height' => $file->getImageHeight(), 100 100 ); 101 + $image_class = 'phabricator-remarkup-embed-image-full'; 101 102 break; 102 103 case 'thumb': 103 104 default:
+4
webroot/rsrc/css/core/remarkup.css
··· 271 271 box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.20); 272 272 } 273 273 274 + .phabricator-remarkup-embed-image-full { 275 + display: inline-block; 276 + } 277 + 274 278 .phabricator-remarkup table.remarkup-table { 275 279 border-collapse: separate; 276 280 border-spacing: 1px;