fix(webui): tighten temporary chat close action

This commit is contained in:
chengyongru
2026-08-08 23:20:59 +08:00
committed by Xubin Ren
parent 75e333a3c5
commit 656e0d606b
12 changed files with 7 additions and 12 deletions
+3 -1
View File
@@ -590,11 +590,13 @@ function TemporaryChatSection({
onCloseAutoFocus={(event) => event.preventDefault()}
>
<DropdownMenuItem
aria-label={t("temporaryChat.closeAction")}
className="whitespace-nowrap"
tone="destructive"
onSelect={() => onClose(session.key)}
>
<X className="h-4 w-4 shrink-0" />
{t("temporaryChat.closeAction")}
{t("common.close")}
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>