From b850f86e601392e23d85b05612ab4d6103969e84 Mon Sep 17 00:00:00 2001 From: anksingh1212121 Date: Sat, 30 May 2026 15:24:38 +0530 Subject: [PATCH] fix: ratio field overflow in custom frame preset panel --- src/components/PresetSelector.tsx | 94 +++++++++++++++---------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/src/components/PresetSelector.tsx b/src/components/PresetSelector.tsx index fd129ab2..698a32bc 100644 --- a/src/components/PresetSelector.tsx +++ b/src/components/PresetSelector.tsx @@ -273,58 +273,58 @@ export default function PresetSelector({ recipe, onChange }: Props) { {recipe.preset === "custom" && ( -
-
- - handleWidthChange(Number(e.target.value))} - className="w-full min-w-20 rounded-md border border-[var(--border)] bg-[var(--bg)] px-3 py-2 text-sm font-heading transition-all focus:outline-none focus:ring-2 focus:ring-film-400 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none" - /> -
- -
- - × - -
- -
- - handleHeightChange(Number(e.target.value))} - className="w-full min-w-20 rounded-md border border-[var(--border)] bg-[var(--bg)] px-3 py-2 text-sm font-heading transition-all focus:outline-none focus:ring-2 focus:ring-film-400 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none" - /> +
+
+
+ + handleWidthChange(Number(e.target.value))} + className="w-full min-w-20 rounded-md border border-[var(--border)] bg-[var(--bg)] px-3 py-2 text-sm font-heading transition-all focus:outline-none focus:ring-2 focus:ring-film-400 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none" + /> +
+
+ + × + +
+
+ + handleHeightChange(Number(e.target.value))} + className="w-full min-w-20 rounded-md border border-[var(--border)] bg-[var(--bg)] px-3 py-2 text-sm font-heading transition-all focus:outline-none focus:ring-2 focus:ring-film-400 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none" + /> +
-
+
Ratio -
+
{getOrientationLabel( recipe.customWidth || 0, recipe.customHeight || 0,