Skip to content

Commit aa2f26f

Browse files
kzuclaudecodealta-agent
committed
Hold the margin marks at the edge of the page, in line with the seats' marks
The mark's button fills the gutter up to the rule, the small space before it included, and centered its marks in that width, so they stood half that space (0.15rem) right of the seats' marks. They now hold the left of the button. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: CodeAlta <noreply@codealta.io>
1 parent 61df3bc commit aa2f26f

2 files changed

Lines changed: 4 additions & 27 deletions

File tree

‎.alta/tasks/2026-11-24-fix-the-margin-marks-standing-2-6px-right-of-the-seats-marks-6q5m.md‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎apps/web/src/app/styles.css‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,10 +1554,12 @@ a.button {
15541554

15551555
/* The first mark stands on the baseline of the paragraph's first line, as tall as a capital.
15561556
Literata's ascent is 1.18em and its descent 0.31em, so the baseline lies leading / 2 + 0.435em
1557-
below the top of the line; the mark (12px) and the button's top padding come off it. */
1557+
below the top of the line; the mark (12px) and the button's top padding come off it.
1558+
The marks hold the left of the button, at the edge of the page, in line with the seats' marks;
1559+
the button's width past them is the small space before the rule. */
15581560
.mark {
15591561
display: grid;
1560-
justify-items: center;
1562+
justify-items: start;
15611563
gap: 0.2rem;
15621564
align-content: start;
15631565
width: 100%;

0 commit comments

Comments
 (0)