fix(fe): avoid internal table scroll on query history page#7342
fix(fe): avoid internal table scroll on query history page#7342
Conversation
Greptile OverviewGreptile SummaryThis PR successfully fixes the double scrollbar issue on the Query History page (Linear ENG-3249). The fix involves two complementary changes:
The changes are minimal, focused, and directly address the reported issue. The fix aligns with the recent codebase refactor (commit 700db01) that made Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant Browser
participant QueryHistoryTable
participant TableRow
participant TableCell
participant Text
participant LinkOverlay as Link Overlay
User->>Browser: Visit Query History Page
Browser->>QueryHistoryTable: Render component
QueryHistoryTable->>TableRow: Render with cursor-pointer and relative positioning
TableRow->>TableCell: Render cells with chat data
TableCell->>Text: Render as inline span element
Note over Text: Prevents block-level overflow
TableRow->>LinkOverlay: Render absolute positioned overlay with top-0
Note over LinkOverlay: Enables full-row clickability
User->>LinkOverlay: Click anywhere on row
LinkOverlay->>Browser: Navigate to detail page
|
Description
before

after

Additional Options
Closes https://linear.app/onyx-app/issue/ENG-3249/query-history-table-has-2-scroll-bars
Summary by cubic
Eliminated the extra internal scrollbar on the Query History page so the table scrolls with the page. Addresses Linear ENG-3249.
as="p") in table cells to prevent nested overflow.top-0to align correctly and avoid internal scroll.Written for commit e243659. Summary will update on new commits.