Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Export transport bar matches the height of the settings pane's foot

Bittif42afb88a7b1
diff --git a/src/styles/export.css b/src/styles/export.css
index 4fad735..cea5db5 100644
--- a/src/styles/export.css
+++ b/src/styles/export.css
@@ -8,12 +8,16 @@
Cancel / Export pinned at its foot. No hero title, no cards, no stat tiles —
labels in the --prop-label column, values beside them.
- Dense scale, shared with the timeline (see timeline.css): 24px transport
- buttons in a 36px bar, 12px captions.
+ Dense scale, shared with the timeline (see timeline.css), except the
+ transport: 32px buttons in a bar as tall as the settings pane's foot.
========================================================================== */
.export-view {
--pane-export-settings: var(--pane-side-default); /* usePaneSize sets the real width inline */
+ /* The settings pane's foot at rest (a 32px button, 12px above and below,
+ its divider): the transport bar under the picture is the same height,
+ so the two strips line up across the splitter. */
+ --export-foot-height: calc(var(--control-md) + 2 * var(--space-3) + 1px);
height: 100%;
min-height: 0;
container: export-view / inline-size;
@@ -142,25 +146,25 @@ img.export-image {
}
/* --- Transport ----------------------------------------------------------------
- Windowed: a static 36px chrome bar under the picture — flat 24px buttons
- like the timeline's, a Fluent slider, and "00:00:12:05 / 00:01:30:00". No
+ Windowed: a static chrome bar under the picture, as tall as the settings
+ pane's foot (--export-foot-height) — flat 32px buttons, a Fluent slider, and "00:00:12:05 / 00:01:30:00". No
scrim, no shadows, no scale. */
.export-transport {
- height: var(--chrome-row);
+ height: var(--export-foot-height);
flex: none;
display: flex;
align-items: center;
- gap: 2px;
- padding: 0 var(--space-2);
+ gap: var(--space-1);
+ padding: 0 var(--space-3);
border-top: 1px solid var(--stroke-divider);
color: var(--text-primary);
background: var(--surface-chrome);
}
.export-transport__button {
- width: var(--control-sm);
- height: var(--control-sm);
+ width: var(--control-md);
+ height: var(--control-md);
flex: none;
display: grid;
place-items: center;
@@ -185,7 +189,7 @@ img.export-image {
.export-transport__time {
flex: none;
color: var(--text-secondary);
- font-size: var(--text-xs);
+ font-size: var(--text-base);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
@@ -353,6 +357,7 @@ img.export-image {
then Cancel / Export at the trailing edge. */
.export-settings__foot {
+ min-height: var(--export-foot-height);
flex: none;
display: grid;
gap: var(--space-3);