Skip to content

chore: opt card - #54

Merged
InftyAI-Agent merged 2 commits into
InftyAI:mainfrom
kerthcet:chore/opt-card
Sep 6, 2026
Merged

chore: opt card#54
InftyAI-Agent merged 2 commits into
InftyAI:mainfrom
kerthcet:chore/opt-card

Conversation

@kerthcet

@kerthcet kerthcet commented Sep 6, 2026

Copy link
Copy Markdown
Member

No description provided.

kerthcet and others added 2 commits September 6, 2026 11:20
The card's heading was split on the comma so the country could carry the
lighter ink. That put the comma on the city's side of the split and in the
city's weight, so the line read "Shanghai," and then "China" rather than
reading "Shanghai, China" — the two tones separated a name that is one thing.

The heading is now `.label` whole, semibold, one colour: the weight is what
separates the place from the handles under it, which is the only distinction
that line needs. Country-level marks like India stop being a special case.

Verified over CDP at 1440, 390 and 320: no heading wraps except "Amsterdam,
Netherlands" in the 131px card the narrowest screen gives it, and the pointer
walk from a dot into a card's links is unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The card was 13rem wide whatever it held, in 14px type with 24px faces 3px
apart. At its most common — one handle — that was "cr7258" alone in a 187px box,
and the column of faces read as circles touching rather than as a list.

  - Width is `max-content` between 10rem and 13rem, both bounds still capped by
    `--map-room` so nothing crosses the map's edge on a narrow screen. The floor
    is what keeps shrink-to-fit from making a 95px stub of a card; the ceiling is
    what stops a long handle from taking the old width back. In practice the
    cards are one width, 144px, and only a handle longer than any on the map
    today would widen one.
  - 13px type rather than 14px, 20px faces rather than 24px, and 4px of air
    around each row rather than 3px: a face and its handle are now the same size
    of thing, which is what a row of a list is.
  - The place name loses its semibold. The rule under it already separates it
    from the list, so the weight was a second way of saying the same thing, and
    it made the name the loudest thing in a panel that exists to show the people.

Verified over CDP at 320, 390 and 1440: all 23 cards open, all 34 avatars load,
no card crosses a viewport edge, the page has no horizontal scrollbar at 320,
targets still sit on their dots to within 0.06px, and the pointer walk from a
dot into a card's links still holds the card open. No heading wraps except
"Amsterdam, Netherlands" in the 131px card the narrowest screen allows it.

Paris still cannot be opened by pointing at its own dot — one of the five
overlapping marks noted in d2a7082, unchanged here and reachable by keyboard.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

@kerthcet is attempting to deploy a commit to the InftyAI Team on Vercel.

A member of the Team first needs to authorize it.

@kerthcet

kerthcet commented Sep 6, 2026

Copy link
Copy Markdown
Member Author

/lgtm
/kind cleanup

@InftyAI-Agent InftyAI-Agent added needs-triage Indicates an issue or PR lacks a label and requires one. needs-priority Indicates a PR lacks a label and requires one. do-not-merge/needs-kind Indicates a PR lacks a label and requires one. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 6, 2026
@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Sep 6, 2026 10:32am UTC

@InftyAI-Agent InftyAI-Agent added lgtm Looks good to me, indicates that a PR is ready to be merged. cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. and removed do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Sep 6, 2026
@InftyAI-Agent
InftyAI-Agent merged commit 136a40e into InftyAI:main Sep 6, 2026
37 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Looks good to me, indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a label and requires one. needs-triage Indicates an issue or PR lacks a label and requires one.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants