Merge pull request #1862 from basecamp/lexxy-attachment-margins

Repair margins for attachments
This commit is contained in:
Andy Smith
2025-12-03 11:07:21 -06:00
committed by GitHub
2 changed files with 9 additions and 7 deletions
+7 -5
View File
@@ -51,12 +51,14 @@
padding-inline-end: var(--reaction-size);
text-align: start;
:first-child {
margin-block-start: 0;
}
.action-text-content {
> action-text-attachment:first-child figure {
margin-block-start: 0.5ch;
}
:last-child {
margin-block-end: 0;
> :last-child {
margin-block-end: 0;
}
}
}
+2 -2
View File
@@ -62,7 +62,7 @@
/* Links should hug media contained within */
a:has(img),
a:has(video) {
display: inline-block;
inline-size: fit-content;
}
/* Avoid extra space due to empty paragraphs */
@@ -263,7 +263,7 @@
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-block-start: var(--block-space-half);
margin-block-start: 0.5ch;
}
}