+
);
diff --git a/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx b/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx
index 3d9a11154b..7830dc850f 100644
--- a/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx
+++ b/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx
@@ -316,6 +316,13 @@ export const DetailedStatus: React.FC<{
}
mediaIcons.push('link');
+ } else if (status.get('tagged_collections').size) {
+ const firstLinkedCollection = status.get('tagged_collections').first();
+ if (firstLinkedCollection) {
+ media = (
+
+ );
+ }
}
if (status.get('poll')) {
diff --git a/app/javascript/flavours/glitch/styles/mastodon/components.scss b/app/javascript/flavours/glitch/styles/mastodon/components.scss
index 453a6c662d..2cd931f151 100644
--- a/app/javascript/flavours/glitch/styles/mastodon/components.scss
+++ b/app/javascript/flavours/glitch/styles/mastodon/components.scss
@@ -1558,7 +1558,8 @@ body > [data-popper-placement] {
.media-gallery,
.video-player,
.audio-player,
- .attachment-list {
+ .attachment-list,
+ .collection-preview {
margin-top: 8px; // glitch: reduced margins
}
@@ -1576,6 +1577,7 @@ body > [data-popper-placement] {
& > .picture-in-picture-placeholder,
& > .more-from-author,
& > .status-card,
+ & > .collection-preview,
& > .hashtag-bar,
& > .content-warning,
& > .filter-warning,
@@ -1853,7 +1855,8 @@ body > [data-popper-placement] {
.media-gallery,
.video-player,
- .audio-player {
+ .audio-player,
+ .collection-preview {
margin-top: 8px; // glitch: reduced margins
}