mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Fix draft-dot alignment by floating it into the card gutter
This commit is contained in:
@@ -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%;
|
||||||
|
|||||||
Reference in New Issue
Block a user