@@ -269,7 +269,7 @@ function BlendModeSelect({ value, onChange }: { value: string; onChange: (mode:
id="blend-mode-select"
value={value}
onChange={(e) => onChange(e.target.value)}
- className="flex-1 h-7 text-xs bg-muted border border-border rounded px-1.5 text-foreground focus:outline-none focus:ring-1 focus:ring-primary"
+ className="flex-1 min-w-0 h-7 text-xs bg-muted border border-border rounded px-1.5 text-foreground focus:outline-none focus:ring-1 focus:ring-primary"
data-testid="blend-mode-select"
>
{BLEND_MODES.map((mode) => (
@@ -289,7 +289,7 @@ function BlendModeSelect({ value, onChange }: { value: string; onChange: (mode:
function OpacitySlider({ value, onChange }: { value: number; onChange: (v: number) => void }) {
const percent = Math.round(value * 100);
return (
-
+
@@ -300,10 +300,10 @@ function OpacitySlider({ value, onChange }: { value: number; onChange: (v: numbe
max={100}
value={percent}
onChange={(e) => onChange(Number(e.target.value) / 100)}
- className="flex-1"
+ className="flex-1 min-w-0"
data-testid="layer-opacity-slider"
/>
-
+
{percent}%
@@ -990,7 +990,7 @@ function EffectSlider({
onChange: (v: number) => void;
}) {
return (
-
+
{label}
onChange(Number(e.target.value))}
- className="flex-1"
+ className="flex-1 min-w-0"
/>
-
+
{value}
{suffix}
diff --git a/apps/web/src/components/editor/panels/navigator-panel.tsx b/apps/web/src/components/editor/panels/navigator-panel.tsx
index 0426229a..bd85f847 100644
--- a/apps/web/src/components/editor/panels/navigator-panel.tsx
+++ b/apps/web/src/components/editor/panels/navigator-panel.tsx
@@ -2,7 +2,6 @@
import { Minus, Plus } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
-import { cn } from "@/lib/utils";
import { useEditorStore } from "@/stores/editor-store";
const THUMBNAIL_MAX_HEIGHT = 80;
@@ -257,11 +256,7 @@ export function NavigatorPanel() {
step={0.001}
value={Math.log(zoom / MIN_ZOOM) / Math.log(MAX_ZOOM / MIN_ZOOM)}
onChange={handleZoomSlider}
- className={cn(
- "flex-1 h-1 appearance-none rounded-full bg-muted",
- "[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-2.5 [&::-webkit-slider-thumb]:h-2.5",
- "[&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-foreground [&::-webkit-slider-thumb]:cursor-pointer",
- )}
+ className="flex-1"
/>
@@ -652,17 +654,28 @@ export function AutomatePage() {
) : (
-
+
{savedPipelines.slice(0, 3).map((p) => (
-
+
+
+
+
))}
{savedPipelines.length > 3 && (