Move video captions below content

This commit is contained in:
Andy Smith
2025-10-02 15:56:21 -05:00
parent 9676a9ee57
commit 076ddd66f4
+10 -1
View File
@@ -248,7 +248,7 @@
}
.attachment--file {
--attachment-icon-color: var(--lexxy-color-text-subtle);
--attachment-icon-color: var(--color-ink-medium);
align-items: center;
display: flex;
@@ -266,6 +266,15 @@
color: var(--color-ink);
font-weight: bold;
}
/* Video attachments don't have an identifiable class, but we need to
* make sure the caption is always below the video */
&:has(video) {
.attachment__caption {
flex: none;
inline-size: 100%;
}
}
}
.attachment--psd,