Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15667190
D8858.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
974 B
Referenced Files
None
Subscribers
None
D8858.diff
View Options
diff --git a/src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php b/src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php
--- a/src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php
+++ b/src/applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php
@@ -98,6 +98,7 @@
'width' => $file->getImageWidth(),
'height' => $file->getImageHeight(),
);
+ $image_class = 'phabricator-remarkup-embed-image-full';
break;
case 'thumb':
default:
diff --git a/webroot/rsrc/css/core/remarkup.css b/webroot/rsrc/css/core/remarkup.css
--- a/webroot/rsrc/css/core/remarkup.css
+++ b/webroot/rsrc/css/core/remarkup.css
@@ -271,6 +271,10 @@
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.20);
}
+.phabricator-remarkup-embed-image-full {
+ display: inline-block;
+}
+
.phabricator-remarkup table.remarkup-table {
border-collapse: separate;
border-spacing: 1px;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 26, 11:26 AM (21 h, 30 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8027768
Default Alt Text
D8858.diff (974 B)
Attached To
Mode
D8858: Making `size=full` images have a shadow and be inline-block so the space next to them isn't clickable Fixes #4902
Attached
Detach File
Event Timeline
Log In to Comment