Skip to content

Style nested ULs in filter-groups as horizontal flex rows#1401

Merged
stefan-burke merged 1 commit intomainfrom
claude/horizontal-filter-group-lists-cgahT
May 5, 2026
Merged

Style nested ULs in filter-groups as horizontal flex rows#1401
stefan-burke merged 1 commit intomainfrom
claude/horizontal-filter-group-lists-cgahT

Conversation

@stefan-burke
Copy link
Copy Markdown
Member

Summary

  • The .filter-groups > li > ul direct-child selector skipped any <ul> not directly nested under the filter-group <li> — notably the noscript fallback list inside filter-sort-dropdown.html, which renders <noscript><p>…</p><ul>…</ul></noscript>.
  • Drop the > so any <ul> inside a filter-group <li> gets the horizontal flex-wrap layout and pill-style option styling, regardless of nesting depth.

Test plan

  • Build the site (bun run build) and confirm the filter UI renders unchanged with JS enabled.
  • Disable JavaScript and verify the sort dropdown's noscript fallback list now lays out as a horizontal flex row of pills, matching the other filter groups.

https://claude.ai/code/session_015esHZx6y73YG4ZcyPs8EDK


Generated by Claude Code

The noscript fallback in filter-sort-dropdown.html renders a <ul> inside
a <noscript> tag, so the previous `.filter-groups > li > ul` direct-child
selector skipped it. Drop the `>` so any ul inside a filter-group li
(including the noscript fallback) gets the horizontal flex-wrap layout.

https://claude.ai/code/session_015esHZx6y73YG4ZcyPs8EDK
@stefan-burke stefan-burke added this pull request to the merge queue May 5, 2026
Merged via the queue into main with commit 44d1b7d May 5, 2026
3 checks passed
@stefan-burke stefan-burke deleted the claude/horizontal-filter-group-lists-cgahT branch May 5, 2026 02:16
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.

2 participants