2 Commits
Author SHA1 Message Date
fen e059ca1554 Merge pull request '#229: padding between image and pill body border' (#230) from fix-229 into dev
CI / test (push) Successful in 42s
CI / docker (push) Successful in 52s
2026-09-10 19:55:58 +00:00
fen 86eb821780 #229: padding between image and pill border, drop corner-clipped inner border
CI / test (pull_request) Successful in 46s
CI / docker (pull_request) Skipped
2026-09-10 14:54:28 -05:00
+7 -3
View File
@@ -812,7 +812,7 @@ button[type="submit"]:focus-visible,
font-size: 22px; padding: 0 4px; border-radius: var(--radius-sm); font-size: 22px; padding: 0 4px; border-radius: var(--radius-sm);
} }
.file-chip .file-chip-remove:hover { color: var(--danger, #c0392b); } .file-chip .file-chip-remove:hover { color: var(--danger, #c0392b); }
.attachment-bar { display: flex; flex-direction: column; gap: 10px; } .attachment-bar { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
/* #221: the link pill under an image preview stays a small inline chip, /* #221: the link pill under an image preview stays a small inline chip,
left-aligned under the image, not stretched above it. */ left-aligned under the image, not stretched above it. */
.attachment-bar .attachment-chip { .attachment-bar .attachment-chip {
@@ -829,8 +829,12 @@ button[type="submit"]:focus-visible,
.attachment-preview { .attachment-preview {
max-width: 100%; max-width: 100%;
align-self: flex-start; align-self: flex-start;
border: 1px solid var(--border); /* #229: no inner border/radius of its own; the .float wrapper already
border-radius: var(--radius); frames the pill (inner borders get corner-clipped by overflow:hidden).
Padding on .attachment-bar gives the image breathing room from the
pill border. */
border: 0;
border-radius: 0;
background: var(--surface-2); background: var(--surface-2);
overflow: hidden; overflow: hidden;
} }