This repository was archived by the owner on Mar 25, 2026. It is now read-only.
generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatch.diff
More file actions
36 lines (36 loc) · 2.36 KB
/
patch.diff
File metadata and controls
36 lines (36 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- web/components/ChatHistory.tsx
+++ web/components/ChatHistory.tsx
@@ -727,24 +727,16 @@
href={`data:${artifact.media.mimeType};base64,${artifact.media.data}`}
download={`artifact-${i}.${artifact.media.mimeType.split('/')[1] || 'png'}`}
className="text-zinc-500 hover:text-zinc-300 transition-colors p-1 hover:bg-white/10 rounded"
title="Download"
-<<<<<<< HEAD
- aria-label="Download generated artifact"
-=======
- aria-label="Download Generated Artifact"
->>>>>>> origin/palette/aria-labels-icon-buttons-6351807906965806055
+ aria-label="Download Generated Artifact"
>
<Download size={14} />
</a>
<a
onClick={(e) => {
e.preventDefault();
const win = window.open();
win?.document.write(
`<iframe src="data:${artifact.media.mimeType};base64,${artifact.media.data}" frameborder="0" style="border:0; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%;" allowfullscreen></iframe>`
);
}}
href="#"
className="text-zinc-500 hover:text-zinc-300 transition-colors p-1 hover:bg-white/10 rounded"
title="Open in new window"
-<<<<<<< HEAD
- aria-label="Open generated artifact in new window"
-=======
- aria-label="Open Generated Artifact in new window"
->>>>>>> origin/palette/aria-labels-icon-buttons-6351807906965806055
+ aria-label="Open Generated Artifact in new window"
>
<ExternalLink size={14} />
</a>