Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #5439: [Bug]: Scrollbar for the file goes out of screen #5481

Closed
wants to merge 1 commit into from
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,16 @@
!isOpen ? "w-12" : "w-60",
)}
>
<div className="flex flex-col relative h-full px-3 py-2 overflow-hidden">
<div className="flex flex-col relative h-full px-3 py-2">
<FileExplorerHeader
isOpen={isOpen}
onToggle={onToggle}
onRefreshWorkspace={refreshWorkspace}
onUploadFile={selectFileInput}
/>
{!error && (
<div className="overflow-auto flex-grow min-h-0">
<div style={{ display: !isOpen ? "none" : "block" }}>
<div className="flex-grow min-h-0">
<div className="h-full overflow-y-auto" style={{ display: !isOpen ? "none" : "block" }}>

Check failure on line 133 in frontend/src/components/features/file-explorer/file-explorer.tsx

View workflow job for this annotation

GitHub Actions / Lint frontend

Replace `·className="h-full·overflow-y-auto"·style={{·display:·!isOpen·?·"none"·:·"block"·}}` with `⏎················className="h-full·overflow-y-auto"⏎················style={{·display:·!isOpen·?·"none"·:·"block"·}}⏎··············`
<ExplorerTree files={paths || []} />
</div>
</div>
Expand Down
Loading