Skip to content

Most-common-words pages: search rows line up, words set like words - #214

Merged
xuelink merged 1 commit into
mainfrom
claude/mcw-graphics-check
Sep 23, 2026
Merged

xuelink merged 1 commit into
mainfrom
claude/mcw-graphics-check

Conversation

@xuelink

@xuelink xuelink commented Sep 23, 2026

Copy link
Copy Markdown
Member

Checked /tools/most-common-words and all 53 language lists at 320, 375 and 1280px.

Fixed

  • Search results on the index: each result row sized its own columns, so the language and meaning columns started wherever that row's word ended. For "water", 12 of 53 rows were off, by up to 54px. The columns now have fixed widths (word 11rem, language 7rem, enough for "Vietnamese"), and a long word wraps within its own column. After the fix, all 60 rows start at the same x.
  • Words in the lists: a word was body-size at weight 600, the same as the rest of the row, so a Malayalam or Arabic word was the hardest thing to read in it. Words are now Nunito 800 at 1.125rem.
  • Selected "Top N" chip: it had an ink outline. It's now blue on the blue tint, per DESIGN.md: "If it can be tapped, focused or is currently selected, it is blue."
  • Grey text: the table header, rank numbers, "Showing X of Y", the credit line and the search placeholder used text-tertiary, which DESIGN.md keeps for inside the phone mockups. They now use text-quiet.

No problem found

  • All 53 language pages at 375px, plus Spanish at 320px: no page overflow and no controls off-screen.
  • After the size change, Finnish, Hungarian, German, Malayalam, Tamil and Georgian at 320px: no word is cut off.
  • The stats row, the "Start here" grid and the all-languages list line up.

Prettier also re-wrapped one credit-paragraph line that was already unformatted on main.

🤖 Generated with Claude Code

- /tools/most-common-words search: each result row was its own grid sized
  to its content, so the language column started wherever that row's word
  ended (12 of 53 rows off, by up to 54px). The columns are fixed widths
  now; a long word wraps in its own column.
- Language lists: the word is set in Nunito 800 at 1.125rem instead of
  body-size 600. A word in Malayalam or Arabic was the faintest thing in
  its row.
- The selected "Top N" chip is blue on the accent tint, per DESIGN.md's
  selected-is-blue rule; it was an ink outline.
- Page copy moves from text-tertiary to text-quiet (table header, ranks,
  count, credit, placeholder): tertiary is the phone replicas' grey.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xuelink
xuelink merged commit a45d65a into main Sep 23, 2026
1 check 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