feat: enhance ScrollArea styling in KnowledgeDirectoryPanel for better layout control

This commit is contained in:
mlogclub
2026-06-02 16:30:45 +08:00
parent 923a3be815
commit 05f4e378fe
@@ -287,7 +287,7 @@ export function KnowledgeDirectoryPanel({
<FolderPlusIcon className="size-4" /> <FolderPlusIcon className="size-4" />
</Button> </Button>
</div> </div>
<ScrollArea className="flex-1"> <ScrollArea className="min-h-0 flex-1 overflow-hidden">
<div className="py-1"> <div className="py-1">
<DirectoryStaticRow <DirectoryStaticRow
icon={<LayersIcon className="size-4 text-muted-foreground" />} icon={<LayersIcon className="size-4 text-muted-foreground" />}