fix(tabs): keep close-confirmation actions visible

This commit is contained in:
dadong authored and GitHub committed 2026-08-18 22:03:40 +08:00
1 parent 3b75c8861d
commit 4b2365b961
1 file changed
+2 -1
@@ -995,7 +995,8 @@ function onOverflowItemKeydown(event: KeyboardEvent, tabId: string, kind: "regul
</DialogTitle>
</DialogHeader>
<!-- Grid items use min-content sizing by default; shrink and wrap long file paths before they can displace the footer actions. -->
<div class="min-w-0 space-y-2">
<!-- 限制最大高度并允许滚动,确保内容超长时底部操作按钮始终可见可点-->
<div class="max-h-120 min-h-0 min-w-0 overflow-y-auto space-y-2">
<p class="wrap-anywhere text-sm text-muted-foreground">{{ closeConfirmMessage }}</p>
<Popover v-if="showCloseConfirmBulkActions" :open="closeConfirmListOpen" @update:open="closeConfirmListOpen = $event">
<PopoverTrigger as-child>