Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

style(timeline): centre the transport in the header row

EtienneLescotacb473a6ed4c
diff --git a/src/components/ai-edition/NewEditorShell.module.css b/src/components/ai-edition/NewEditorShell.module.css
index 23d695982..9b24797e6 100644
--- a/src/components/ai-edition/NewEditorShell.module.css
+++ b/src/components/ai-edition/NewEditorShell.module.css
@@ -763,7 +763,7 @@
.transport {
display: flex;
align-items: center;
- gap: 6px;
+ gap: 12px;
}
.transport .tbtn {
width: 32px;
@@ -793,7 +793,7 @@
background: var(--fg-2);
}
.transport .time {
- font: 500 13px/1 var(--font-body);
+ font: 500 14px/1 var(--font-body);
font-variant-numeric: tabular-nums;
color: var(--fg);
min-width: 104px;
diff --git a/src/components/ai-edition/v4/EditorShellV4.module.css b/src/components/ai-edition/v4/EditorShellV4.module.css
index 7fe1372d4..dc37056a1 100644
--- a/src/components/ai-edition/v4/EditorShellV4.module.css
+++ b/src/components/ai-edition/v4/EditorShellV4.module.css
@@ -1327,9 +1327,12 @@
border-bottom: 1px solid var(--border-soft);
}
.tlTools {
+ /* Both side groups take an equal share of the row, so the transport between
+ them sits in its centre. */
+ flex: 1;
display: flex;
align-items: center;
- gap: 4px;
+ gap: 6px;
}
.tlToolBtn {
width: 32px;
@@ -1354,7 +1357,8 @@
color: var(--accent, var(--fg));
}
.tlHints {
- margin-left: auto;
+ flex: 1;
+ justify-content: flex-end;
display: flex;
align-items: center;
gap: 10px;