mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user