Skip to content

fix(social): keep the cover table's label clear of its first row - #8

Merged
imgul merged 1 commit into
mainfrom
arena/e768a700-env-compare
Oct 20, 2026
Merged

imgul merged 1 commit into
mainfrom
arena/e768a700-env-compare

Conversation

@imgul

@imgul imgul commented Oct 20, 2026

Copy link
Copy Markdown
Member

Follow-up to #7, found by looking at the rendered PNG at thumbnail size.

On Instagram slide 1 the panel label sat 42px below the panel edge and the first row's rule landed 4px above it, so .env.example → .env read as part of the DATABASE_URL row. The panel is 40px taller and the four rows start below the label now.

scripts/build-social.mjs is the single source; the SVGs and 2× PNGs are regenerated from it. npx vitest run tests/unit/social.test.ts — 6 passed.

The panel label on slide 1 sat 42px below the panel edge, and the first row's
rule 4px above it, so ".env.example → .env" read as part of the DATABASE_URL
row. Panel is 40px taller and the rows start below the label.

Caught by looking at the render at thumbnail size, not by reading the markup.
@imgul
imgul merged commit 020616c into main Oct 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant