Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .github/evidence/pr-1610-before-after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ export function ReviewShell({
<Flex style={{ flex: 1, minHeight: 0 }}>
<div
ref={scrollContainerRef}
className="scrollbar-hide flex-1 space-y-2 overflow-auto"
className="scrollbar-overlay-y flex-1 space-y-2 overflow-auto"
style={{ minWidth: 0 }}
>
{children}
Expand Down
32 changes: 32 additions & 0 deletions apps/code/src/renderer/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,38 @@ body {
background: var(--gray-a8);
}

.scrollbar-overlay-y {
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: transparent transparent;
}

.scrollbar-overlay-y::-webkit-scrollbar {
width: 6px;
background: transparent;
}

.scrollbar-overlay-y::-webkit-scrollbar-track {
background: transparent;
}

.scrollbar-overlay-y::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 3px;
}

.scrollbar-overlay-y:hover {
scrollbar-color: var(--gray-a6) transparent;
}

.scrollbar-overlay-y:hover::-webkit-scrollbar-thumb {
background: var(--gray-a6);
}

.scrollbar-overlay-y:hover::-webkit-scrollbar-thumb:hover {
background: var(--gray-a8);
}

/* File mention list styles */
.file-mention-item {
padding: var(--space-2);
Expand Down