From c132bc836f4e9e5b8b600954069129e94ac5b9a2 Mon Sep 17 00:00:00 2001 From: Piotr Oleszczyk Date: Fri, 27 Feb 2026 15:55:58 +0100 Subject: [PATCH] fix: uniform 2-col classification grid and fix effect profile label overflow - Classification: replace fragmented layout (full-width + 3-col + full-width) with a single 2-column grid; Category spans full width via col-span-2 - Effect profile: replace flex + fixed w-40 label with CSS grid using minmax(7rem,10rem) label column to prevent overflow at narrow viewports Co-Authored-By: Claude Sonnet 4.6 --- .../src/lib/components/ProductForm.svelte | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/frontend/src/lib/components/ProductForm.svelte b/frontend/src/lib/components/ProductForm.svelte index 87218a4..031b3b0 100644 --- a/frontend/src/lib/components/ProductForm.svelte +++ b/frontend/src/lib/components/ProductForm.svelte @@ -245,21 +245,21 @@ Classification - -
- - - -
+ +
+
+ + + +
-
@@ -299,19 +299,19 @@
-
-
- - - +
+ + + +
@@ -473,8 +473,8 @@
{#each effectFields as field} {@const key = field.key as keyof typeof effectValues} -
- {field.label} +
+ {field.label} - {effectValues[key]} + {effectValues[key]}
{/each}