Skip to content

Page: card tags that never overlap or overflow - #12

Merged
Fengzdadi merged 1 commit into
mainfrom
page/card-tag
Nov 3, 2026
Merged

Fengzdadi merged 1 commit into
mainfrom
page/card-tag

Conversation

@Fengzdadi

Copy link
Copy Markdown
Owner

On full-bleed cards the name tag and the address share the bottom edge. A person's one-line tag ran into the address on square cards and covered their buildings; the repo card was a few pixels from the same overlap with longer names.

  • A person's tag splits "built N of M buildings" / "in owner/repo" onto two lines.
  • When tag and address won't both fit along the foot, the address sits on top of the tag (person and repo cards).
  • A person's full-bleed card frames the city clear of the foot.
  • Overlong names, repos and links are cut short with "…" instead of running off the card (this was there before, on every person layout).

Checked locally by drawing square, story and landscape cards (full bleed and not) with normal, "most commits" and very long names, plus the real share dialog on flask. npm test passes.

🤖 Generated with Claude Code

On a full-bleed card the name tag sits in one bottom corner and the
address in the other. A person's tag ("built 18 of 2,398 buildings in
oceanbase/powercontext" on one line) was wide enough to run into the
address on a square card, and covered the person's own buildings. The
repo's card was a few pixels from the same overlap with a longer name.

- A person's tag says how many and where on two lines, beside a face as
  tall as the three lines.
- When the tag and the address won't both fit along the foot, the
  address sits on top of the tag instead (person and repo cards).
- A person's full-bleed card frames the city, and their buildings in
  it, clear of the foot.
- Names, repos and addresses too long to fit even at their smallest
  size are cut short with "…" instead of running off the card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Fengzdadi
Fengzdadi merged commit 9e8260b into main Nov 3, 2026
6 checks passed
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