fix: update diagram history dialog with description and adjust image styling

This commit is contained in:
dayuan.jiang
2025-03-23 14:31:19 +00:00
parent cc5c06de2e
commit 762b970cd9

View File

@@ -272,6 +272,9 @@ export function ChatInput({
<DialogHeader> <DialogHeader>
<DialogTitle>Diagram History</DialogTitle> <DialogTitle>Diagram History</DialogTitle>
<DialogDescription> <DialogDescription>
Here saved each diagram before AI
modification.
<br />
Click on a diagram to restore it Click on a diagram to restore it
</DialogDescription> </DialogDescription>
</DialogHeader> </DialogHeader>
@@ -299,7 +302,7 @@ export function ChatInput({
}`} }`}
width={200} width={200}
height={100} height={100}
className="object-cover w-full h-full" className="object-contain w-full h-full p-1"
/> />
</div> </div>
<div className="text-xs text-center mt-1 text-gray-500"> <div className="text-xs text-center mt-1 text-gray-500">