优化
Some checks failed
Build and Deploy / deploy (push) Has been cancelled

This commit is contained in:
2026-03-22 22:07:11 +08:00
parent 3680ab0efd
commit b9a1763e71
3 changed files with 229 additions and 714 deletions

View File

@@ -180,7 +180,7 @@ watch(() => props.visible, (val) => {
<template>
<Sheet :open="visible" @update:open="handleClose">
<SheetContent side="right" class="w-[560px] sm:max-w-full p-0 flex flex-col bg-background">
<SheetContent side="right" class="w-full sm:w-[560px] p-0 flex flex-col bg-background">
<!-- Header -->
<SheetHeader class="shrink-0">
<ChatDrawerHeader :agent="agent" @history="openHistory" />

View File

@@ -954,17 +954,19 @@ watch(() => props.visible, (val) => {
// ========================================
@media (max-width: 768px) {
.history-overlay {
padding: 20px;
align-items: flex-end;
padding: 0;
align-items: stretch;
}
.history-modal {
max-height: calc(100vh - 40px);
border-radius: 20px 20px 12px 12px;
max-width: 100%;
max-height: 100vh;
height: 100vh;
border-radius: 0;
}
.modal-header {
padding: 20px 20px 16px;
padding: 16px 20px;
}
.modal-body {

File diff suppressed because it is too large Load Diff