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

.filters leaves src/web/style/content.ts and docs/DESIGN.md §5d #5723

Parked opened this
Closed without merging

scout/forge:scout/4688-filters-leaves-src-web-style-content-ts → main 9 commits fork 1 thread · 1 unresolved

  • Closed without merging. Nothing was applied to main.

Review

Sign in to review this change.
2 files changed +1 −9
docs/design/sections/5d-page-local-classes.md −1
@@ -30,7 +30,6 @@ the same line (#4888).
3030 - **`style/content.ts`, page furniture** — what frames a page's content: page and repo heads, the front page and its tiles, explore, backups, boards, the fleet chart's series colours, lineage:
3131 - `.commit-body`
3232 - `.commit-head`
33 - `.filters`
3433 - `.page-head`
3534 - `.repo-actions`
3635 - `.repo-desc`
src/web/style/content.ts +1 −8
@@ -157,14 +157,7 @@ a.origin-chip:hover { border-color: var(--border-strong); color: var(--fg); }
157157 .repo-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
158158
159159
160 .filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
161 .filters form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
162 .filters .search { min-width: 180px; flex: 1; max-width: 320px; }
163 /* A list's six words fit a phone without pushing the page sideways: a
164 little less padding there, and a scroll inside the bar as the last resort. */
165 .filters .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
166 @media (max-width: 420px) { .filters .seg > a { padding: 0 8px; } }
167 /* The same three reaches for a filter bar drawn with §5's .bar. */
160 /* A filter bar drawn with §5's .bar: the search grows to 320px; the seg scrolls inside the bar and tightens its padding on a phone, so the page never moves sideways. */
168161 .bar .search { min-width: 180px; flex: 1; max-width: 320px; }
169162 .bar .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
170163 @media (max-width: 420px) { .bar .seg > a { padding: 0 8px; } }

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs