fix(web): prevent file manager from overlapping Sheet close button

Wrap the FileManager inside a relative container in the chat Sheet so
its absolute inset-0 positioning is scoped to the remaining space below
the SheetHeader, instead of covering the entire SheetContent.
This commit is contained in:
Acbox
2026-03-11 17:24:55 +08:00
parent 70252124ba
commit 14aadae3ca
@@ -186,13 +186,14 @@
{{ $t('chat.files') }}
</SheetDescription>
</SheetHeader>
<FileManager
v-if="currentBotId"
ref="fileManagerRef"
:bot-id="currentBotId"
:sync-url="false"
class="flex-1 min-h-0"
/>
<div class="flex-1 min-h-0 relative">
<FileManager
v-if="currentBotId"
ref="fileManagerRef"
:bot-id="currentBotId"
:sync-url="false"
/>
</div>
</SheetContent>
</Sheet>
</div>