From 912f3dac6f37aabbe6927ca92b23c211875a8c62 Mon Sep 17 00:00:00 2001 From: Scarriffle Date: Mon, 27 Jul 2026 18:42:12 +0200 Subject: [PATCH] Web: Lebensmittel-Icon (Apfel) + mehr Abstand vor 'Typ' im Produktformular Eigenes food-Icon fuer den Lebensmittel-Sidebar-Eintrag (statt des Sechsecks). Der Block 'Mindestbestand je Lagerort' bekommt Abstand nach unten, damit er nicht am Typ-Umschalter klebt. Co-Authored-By: Claude Opus 4.8 --- web/src/App.jsx | 2 +- web/src/components/Icon.jsx | 6 ++++++ web/src/pages/ProductForm.jsx | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/web/src/App.jsx b/web/src/App.jsx index 469571c..c499374 100644 --- a/web/src/App.jsx +++ b/web/src/App.jsx @@ -75,7 +75,7 @@ function Sidebar() { ))} - + diff --git a/web/src/components/Icon.jsx b/web/src/components/Icon.jsx index b33a82b..1f46cbc 100644 --- a/web/src/components/Icon.jsx +++ b/web/src/components/Icon.jsx @@ -2,6 +2,12 @@ // Verwendung: oder const PATHS = { + food: ( + <> + + + + ), dashboard: ( <> diff --git a/web/src/pages/ProductForm.jsx b/web/src/pages/ProductForm.jsx index f9a0193..9bb88fe 100644 --- a/web/src/pages/ProductForm.jsx +++ b/web/src/pages/ProductForm.jsx @@ -678,7 +678,7 @@ export default function ProductForm() { {!isNew && product && isAdmin && ( -
+

Mindestbestand je Lagerort