From cd5f986489d841bb8e0ecd9457feb48929c44aad Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Thu, 7 May 2026 16:35:09 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Massnahmen-Tabelle=20Layout=20=E2=80=94?= =?UTF-8?q?=20volle=20Textbreite=20statt=20truncate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Grid-Layout statt flex mit fixen Breiten. Texte umbrechen statt abschneiden. Gefaehrdung-Spalte 200px, Status 80px. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../sdk/iace/[projectId]/mitigations/page.tsx | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/admin-compliance/app/sdk/iace/[projectId]/mitigations/page.tsx b/admin-compliance/app/sdk/iace/[projectId]/mitigations/page.tsx index b755522..b9a0ae6 100644 --- a/admin-compliance/app/sdk/iace/[projectId]/mitigations/page.tsx +++ b/admin-compliance/app/sdk/iace/[projectId]/mitigations/page.tsx @@ -174,33 +174,33 @@ export default function MitigationsPage() { {isExpanded && items.length > 0 && (
{/* Table header */} -
-
+
+
selectAllInType(type)} className="accent-purple-600" title="Alle auswaehlen" />
-
Massnahme
-
Status
-
Gefaehrdung
+
Massnahme
+
Gefaehrdung
+
Status
{/* Rows */} {items.map((m) => (
-
+ className={`grid grid-cols-[24px_1fr_200px_80px] gap-2 px-4 py-2 border-t border-gray-50 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-750 transition-colors ${selected.has(m.id) ? 'bg-purple-50 dark:bg-purple-900/10' : ''}`}> +
toggleSelect(m.id)} className="accent-purple-600" />
-
-
{m.title || ''}
- {m.description &&
{m.description}
} +
+
{m.title || ''}
+ {m.description &&
{m.description}
}
-
- -
-
+
{(m.linked_hazard_names || []).join(', ') || '-'}
+
+ +
))}