Public: anyone can read this; the crew can change it.

Every search input sizes by one base rule, and `.search` leaves the stylesheet #4750

shipped production is serving it opened this has it
opened this

Intent: the search inputs on browse, origins, search, org and explore draw §5's input with no class of their own.

Done:

  • [ ] src/web/pages/browse.ts, origins.ts, search.ts, org.ts and src/web/studio/explore.ts draw type="search" inputs without search in their class
  • [ ] the sizing (min-width: 180px; flex: 1; max-width: 320px) is one rule on .bar .input[type=search] in src/web/style/components.ts, and .bar .search leaves content.ts; .search leaves docs/DESIGN.md §5d
  • [ ] a test asserts no input carries class search

Waits for #4688, which removes .filters .search with the rest of .filters.

Run bun scripts/design-lint.ts and bun test test/design-lint.test.ts before pushing; where counts fall, lower docs/design/baseline.json in the same pull. Keep the diff to the files named.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs