Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Studio: align the Images and Video preset dropdown with the title's top (#16081)

Michael Hanc6056ffcbc78
diff --git a/studio/frontend/src/features/images/images-page.tsx b/studio/frontend/src/features/images/images-page.tsx
index eb0cd3e7eec..4a9a1258e25 100644
--- a/studio/frontend/src/features/images/images-page.tsx
+++ b/studio/frontend/src/features/images/images-page.tsx
@@ -6027,8 +6027,8 @@ export function ImagesPage({
</div>
{workflow === "create" && (
- // Top edge on the heading's cap top (text-xl, leading-none; Hellix: 0.122em).
- <div className="mt-[calc(var(--text-xl)*0.122)]">
+ // Top edge on the icon's drawn top: centred in the line, stroke starts 1.25/24 into the glyph.
+ <div className="mt-[calc((var(--text-xl)-18px*var(--ui-space-scale,1))/2+18px*var(--ui-space-scale,1)*0.052)]">
<MediaGenerationPresetControl
kind="image"
presets={imagePresets.presets}
diff --git a/studio/frontend/src/features/video/video-page.tsx b/studio/frontend/src/features/video/video-page.tsx
index 4dbc4528840..ea1fb32ced5 100644
--- a/studio/frontend/src/features/video/video-page.tsx
+++ b/studio/frontend/src/features/video/video-page.tsx
@@ -3925,8 +3925,8 @@ function VideoGenerator({
</p>
</div>
- {/* Top edge on the heading's cap top (text-xl, leading-none; Hellix: 0.122em). */}
- <div className="mt-[calc(var(--text-xl)*0.122)]">
+ {/* Top edge on the icon's drawn top: centred in the line, stroke starts 1.25/24 into the glyph. */}
+ <div className="mt-[calc((var(--text-xl)-18px*var(--ui-space-scale,1))/2+18px*var(--ui-space-scale,1)*0.052)]">
<MediaGenerationPresetControl
kind="video"
presets={videoPresets.presets}