~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Text fields and lists stand the same height, and the rules count as sections do

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/group-host:web/form-quirks

What changes

Fields. A text field and a list (select) now stand the same height, 40px, side by side and on every page: a text field took the body's 1.6 line height and grew past --control to about 44px, while a list kept to it. Both now take --leading-tight, so each is one --control high.

Rules. The group's folded rules show how many as a section's heading does, a quiet number ("Rules 2"), not in parentheses ("Rules (2)").

Why

Both were found looking at the profile form in at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/group-host/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3mzl2y6tefk3p, where the town's field and the country's list sit side by side, a few pixels apart.

How it was checked

  • Looked at with just look: the profile settings (town and country side by side, the other fields and lists), the group's page (the rules line, the member search), desktop light and phone dark.
  • The e2e rules flow opens the rules by their summary and finds the count, 1.

🤖 Generated with Claude Code

crop-s.png

crop-r.png

Approved

This sets line-height: var(--leading-tight) on text inputs and select, so both come out at --control height. It also changes the group's Rules summary to use the shared .count span, which app.css:231 already styles. The rule excludes the same input types as the base rule, so checkboxes, radios and files are untouched. textarea is left alone, and its height comes from min-height, so that's fine. The e2e update matches the new markup. I found nothing that needs changing. I read the whole diff but didn't run it or look at the rendering, so the 40px result rests on your screenshots.

Merged as 74a0c1d