Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Keep generation actions visible in inspector footers

Bitti1c80bf48ce01
diff --git a/src/styles/generator.css b/src/styles/generator.css
index 123e468..28c8cff 100644
--- a/src/styles/generator.css
+++ b/src/styles/generator.css
@@ -20,6 +20,7 @@
/* Floors on both sides: with the agent pane open in a 900px window the view
is ~540px wide, and a fixed inspector squeezed the scene list to nothing. */
grid-template-columns: minmax(280px, 1fr) auto minmax(280px, var(--pane-generator-inspector));
+ grid-template-rows: minmax(0, 1fr);
background: var(--surface-pane);
}
@@ -663,6 +664,7 @@
min-height: 0;
display: flex;
flex-direction: column;
+ overflow: hidden;
background: var(--surface-pane);
}
@@ -703,7 +705,7 @@
opacity: 1;
}
-/* The pane's scrolling middle. It takes what the head and the debug row
+/* The pane's scrolling middle. It takes what the header and action footer
leave, and scrolls inside it. Its sections run edge to edge, the first one
straight under the item header. */
.panel-scroll {
diff --git a/src/styles/image-editor.css b/src/styles/image-editor.css
index 7cae645..8a4d6c4 100644
--- a/src/styles/image-editor.css
+++ b/src/styles/image-editor.css
@@ -11,7 +11,7 @@
.image-tree { display: flex; flex-direction: column; }
.image-tree > .ui-pane-header, .image-inspector > .ui-item-header { flex-shrink: 0; }
.image-tree > [role="tree"] { flex: 1; overflow: auto; padding: var(--space-1) 0; }
-.image-inspector { display: flex; flex-direction: column; }
+.image-inspector { display: flex; flex-direction: column; overflow: hidden; }
.image-inspector > .inspector-actions { margin-top: auto; }
.image-pane-button.icon-button { width: var(--control-sm); height: var(--control-sm); }
@@ -99,7 +99,8 @@
/* --- Inspector -------------------------------------------------------------------
Label + control pairs are PropRows; the free-text fields stay full width
with a 12px label above. */
-.image-inspector__fields { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-2) var(--space-3) var(--space-3); }
+/* Only the fields scroll; the selected-item header and action footer stay visible. */
+.image-inspector__fields { flex: 1; min-width: 0; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-2) var(--space-3) var(--space-3); }
.image-inspector__area { display: flex; flex-direction: column; gap: var(--space-1); color: var(--text-secondary); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.image-inspector__area textarea { width: 100%; height: auto; min-width: 0; padding: var(--space-2); font-weight: var(--weight-regular); line-height: var(--leading-normal); resize: vertical; }
.image-inspector__caption { margin: 0; color: var(--text-muted); font-size: var(--text-xs); }