Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions src/features/timeline/timeline.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,19 @@
columns + bars, instead of cramming into the viewport. */
@media (max-width: 600px) {
.timeline__head,
.timeline__rows,
.timeline__row {
min-width: 720px;
}
}

.timeline__head {
display: grid;
gap: 2px;
/* No inter-column gap: the day headers, the bars, and the .timeline__rows
gridlines (drawn every 100%/14) must share identical column boundaries — a
gap here shifts the headers/bars off the gridlines by an accumulating few px
across 14 columns. */
gap: 0;
margin-bottom: 8px;
border-bottom: 1px solid var(--tf-border);
padding-bottom: 4px;
Expand Down Expand Up @@ -56,7 +61,10 @@

.timeline__row {
display: grid;
gap: 2px;
/* Match .timeline__head: no inter-column gap so bars land exactly on the
day-column gridlines (drawn every 100%/14 on .timeline__rows). The bar's own
border-radius/padding keep adjacent bars visually distinct. */
gap: 0;
}

.timeline__bar {
Expand Down
Loading