Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Make Image inspector section headers full width

Bittic7eee27de7bb
diff --git a/src/styles/image-editor.css b/src/styles/image-editor.css
index 8c809a2..53a2580 100644
--- a/src/styles/image-editor.css
+++ b/src/styles/image-editor.css
@@ -116,11 +116,13 @@
Label + control pairs are PropRows; the free-text fields stay full width
with a 12px label above. */
/* 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__fields { flex: 1; min-width: 0; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-2) 0 var(--space-3); }
+/* Section headers reach the pane edges; standalone fields retain the same
+ inset as the shared property-section contents. */
+.image-inspector__fields > :not(.ui-prop-section) { margin-inline: 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); }
-.image-inspector .ui-prop-section__content { padding-inline: 0; }
.image-inspector .image-check { display: flex; align-items: center; gap: var(--space-2); min-height: 28px; font-size: var(--text-base); }
.image-palette { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.image-palette > div { display: flex; align-items: center; gap: 2px; }