Fix draft-dot alignment by floating it into the card gutter

This commit is contained in:
2026-06-05 13:41:25 +03:00
parent 3dd8187ee6
commit 0f8738cd0c
+8 -3
View File
@@ -82,9 +82,9 @@
} }
.nameRow { .nameRow {
position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
gap: var(--space-2);
min-width: 0; min-width: 0;
} }
@@ -96,9 +96,14 @@
text-overflow: ellipsis; text-overflow: ellipsis;
} }
/* Unpublished-draft indicator (spec §03D / §02 status). */ /* Unpublished-draft indicator (spec §03D / §02 status). Floated into the row's
left padding gutter and positioned out of flow so the title's start never
shifts — dirty and clean rows stay aligned with each other and with the date. */
.draftDot { .draftDot {
flex: 0 0 auto; position: absolute;
left: calc(-1 * (var(--space-3) + var(--space-1)));
top: 50%;
transform: translateY(-50%);
width: 6px; width: 6px;
height: 6px; height: 6px;
border-radius: 50%; border-radius: 50%;