Merge pull request #1862 from basecamp/lexxy-attachment-margins
Repair margins for attachments
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user