fix: extend file drop zone to fill remaining viewport height
This commit is contained in:
@@ -395,7 +395,7 @@ export default function FilesPage() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="flex-1 min-h-0">
|
<div className="flex-1 min-h-0 flex flex-col">
|
||||||
{!filesEnabled ? (
|
{!filesEnabled ? (
|
||||||
<div className="flex items-center justify-center h-full">
|
<div className="flex items-center justify-center h-full">
|
||||||
<div className="max-w-lg text-center space-y-3 px-4">
|
<div className="max-w-lg text-center space-y-3 px-4">
|
||||||
|
|||||||
@@ -837,7 +837,7 @@ export function FileBrowser({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
ref={containerRef}
|
ref={containerRef}
|
||||||
className="flex flex-col h-full"
|
className="flex flex-col flex-1 min-h-0"
|
||||||
onClick={handleContainerClick}
|
onClick={handleContainerClick}
|
||||||
onDragOver={handleDragOver}
|
onDragOver={handleDragOver}
|
||||||
onDragLeave={handleDragLeave}
|
onDragLeave={handleDragLeave}
|
||||||
|
|||||||
Reference in New Issue
Block a user