From 40e12a574e839b2e4d63ee9ed081235a727bc515 Mon Sep 17 00:00:00 2001 From: Scarriffle Date: Sun, 26 Jul 2026 21:18:26 +0200 Subject: [PATCH] =?UTF-8?q?Web:=20Einzelst=C3=BCck-Detail=20ohne=20eigene?= =?UTF-8?q?=20F=C3=A4rbung,=20als=20eine=20Ansicht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die blaue Hinterlegung der Detailzeile (Preis/Belege) entfernt; Stück-Zeile und Detailzeile bilden jetzt eine zusammenhaengende Ansicht ohne Trennlinie dazwischen. Co-Authored-By: Claude Opus 4.8 --- web/src/components/Einzelstuecke.jsx | 2 +- web/src/styles.css | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/web/src/components/Einzelstuecke.jsx b/web/src/components/Einzelstuecke.jsx index 27997cb..5854e69 100644 --- a/web/src/components/Einzelstuecke.jsx +++ b/web/src/components/Einzelstuecke.jsx @@ -185,7 +185,7 @@ export default function Einzelstuecke({ product, locations, shops, isAdmin, onCh {items.map((it) => ( - + {it.uid} diff --git a/web/src/styles.css b/web/src/styles.css index 760b707..816daa1 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -361,8 +361,10 @@ td select { width: auto; min-width: 0; max-width: 100%; } /* In Zahlenspalten sitzt der Inhalt rechts, passend zur Ausrichtung der Spalte. */ .table td.num .cell-row { justify-content: flex-end; } .table tbody tr:last-child td { border-bottom: none; } -/* Immer sichtbare Detailzeile der Einzelstücke (Preis + Belege) leicht absetzen. */ -.einzel-detailrow > td { background: var(--surface-2); } +/* Stück-Zeile und ihre Detailzeile (Preis + Belege) bilden eine Einheit: keine + Trennlinie und keine eigene Färbung dazwischen, nur unter der Detailzeile. */ +.einzel-mainrow > td { border-bottom: none; } +.einzel-detailrow > td { border-top: none; padding-top: 0; } .table tbody tr:hover { background: var(--surface-2); } .num { text-align: right; font-variant-numeric: tabular-nums; } .strong { font-weight: 640; }