Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Place export notification buttons below path

Bitti096bca963842
diff --git a/src/components/workspace/ExportView.tsx b/src/components/workspace/ExportView.tsx
index 9833a8a..9ac2c38 100644
--- a/src/components/workspace/ExportView.tsx
+++ b/src/components/workspace/ExportView.tsx
@@ -511,6 +511,7 @@ export function ExportView({ config, folderPath, onClose }: {
<ProgressBar value={percent} aria-label="Export progress" />
</div>}
{!progress && outcome?.kind === "saved" && <InfoBar
+ className="export-outcome"
severity="success"
title="Exported"
message={`Exported to ${outcome.path}`}
diff --git a/src/styles/export.css b/src/styles/export.css
index b0de931..0105b84 100644
--- a/src/styles/export.css
+++ b/src/styles/export.css
@@ -387,6 +387,29 @@ img.export-image {
display: none;
}
+.export-outcome {
+ display: grid;
+ grid-template-columns: auto minmax(0, 1fr) auto;
+ grid-template-areas: "icon text close" ". actions .";
+ align-items: start;
+ row-gap: var(--space-2);
+ padding-block: var(--space-3);
+}
+
+.export-outcome > .ui-severity-glyph { grid-area: icon; }
+.export-outcome > .ui-infobar__close { grid-area: close; }
+
+.export-outcome > .ui-infobar__text {
+ grid-area: text;
+ flex-direction: column;
+ padding-block: 0;
+}
+
+.export-outcome > .ui-infobar__action {
+ grid-area: actions;
+ flex-wrap: wrap;
+}
+
.export-settings__actions {
display: flex;
justify-content: flex-end;