Skip to content

🫥 fix: Hide the Web Search Source Rails Scrollbar - #17359

Merged
berry-13 merged 4 commits into
devfrom
berry-13/theme-sources-scrollbar
Oct 23, 2026
Merged

berry-13 merged 4 commits into
devfrom
berry-13/theme-sources-scrollbar

Conversation

@berry-13

@berry-13 berry-13 commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The web search source rails in Web/Sources.tsx (the two source grids) carried scrollbar-none, which Tailwind 3 never generated, so they still draw a horizontal scrollbar. They now use the app's hide-scrollbar helper, as CategoryTabs and UIResourceCarousel do. The rails hold links, so their content stays reachable by keyboard focus and touch scrolling. The tab panel needs no class of its own, because the grids it holds already hide their scrollbars; leaving it alone keeps the recorded shadcn/no-restyle count unchanged.

Related: berry-13#308

Type of change

  • Bug fix

Testing

Tested environments/configuration:

  • Not run in a browser; the helper is a plain global class (scrollbar-width: none plus the WebKit rule) and is theme independent, so light and dark render the same.

Automated tests:

  • Static checks on the staged diff pass, including design-rule suppression validation, and eslint-suppressions.json is unchanged from dev.
  • No mock harness fixture for web search sources exists yet, so no e2e assertion was added.

Screenshots / recordings

No user-facing change beyond the removed scrollbar.

Risk / compatibility

Low. Scrollable rails without a scrollbar rely on focusable links and touch; no pointer-only affordance is removed.

Checklist

  • I reviewed my own changes
  • Relevant tests have been added or updated
  • Existing relevant tests pass
  • The change does not introduce new warnings or errors
  • Required documentation PR: N/A

The three horizontal rails carried a class Tailwind 3 never generated, so they still draw a scrollbar. They now use the app's hide-scrollbar helper; the links inside stay focusable, so the rails stay reachable by keyboard and touch.
Copilot AI balanced review requested due to automatic review settings October 22, 2026 17:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T20:13:18.800842Z 14bb2ee New commits
🔒 Security Review ✅ Completed 2026-10-22T17:53:17.632020Z d6fefe7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@berry-13
berry-13 merged commit 4f3d325 into dev Oct 23, 2026
35 checks passed
@berry-13
berry-13 deleted the berry-13/theme-sources-scrollbar branch October 23, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants