- {/* Copy button — hidden for Typst (resume) */}
- {reportContent?.content_type !== "typst" && (
-
- )}
-
{/* Export — plain button for resume (typst), dropdown for others */}
{reportContent?.content_type === "typst" ? (
@@ -353,7 +339,7 @@ export function ReportPanelContent({
variant="outline"
size="sm"
disabled={isLoading || !reportContent?.content}
- className={`h-8 px-3.5 py-4 text-[15px] gap-1.5 ${btnBg} select-none`}
+ className={`h-8 px-3.5 py-4 text-[15px] gap-1.5 ${isPublic ? "bg-main-panel" : "bg-sidebar"} select-none`}
>
Export
@@ -379,7 +365,7 @@ export function ReportPanelContent({
+ {!isEditing && (
+
+ )}
{!isReadOnly &&
(isEditing ? (
<>