This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user