fix: prevent chat source citation clipping - #2442
Conversation
✅ Deploy Preview for expressjscom-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Hi @vibhor-aggr, thank you for bringing up and fixing this issue.
Please add the ::before sudo element for chat-sources-scroll-container so that the gradient will appear on the left. @krzysdz pointed it out in the issue comment.
Adjust padding for chat-sources so that it will produce a non-overlapping scroller UI. As shown below.
2026-07-22.14-49-17.mp4
You can refer to the Web Content Accessibility Guidelines at https://www.w3.org/WAI/WCAG22/Techniques/general/G206
|
Addressed in
Verification passed with Prettier, |

Summary
Closes #2408.
Prevents AI answer source/citation cards from being clipped horizontally by:
Verification
npx prettier --check src/components/patterns/Searchbox/ChatSources.cssnpm run lint -- src/components/patterns/Searchbox/ChatSources.css(exits 0; CSS is ignored by the current ESLint config)git diff --checknpm run build