From 287ec30cf73ed3bc0b465025d32e42d0ba8b4dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 23 Jun 2026 15:22:33 +0200 Subject: [PATCH] chore: simplify datatable css --- assets/styles/components/datatable.css | 41 +++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/assets/styles/components/datatable.css b/assets/styles/components/datatable.css index 3c09196..d09726e 100644 --- a/assets/styles/components/datatable.css +++ b/assets/styles/components/datatable.css @@ -6,33 +6,26 @@ @apply align-middle inline-block min-w-full overflow-hidden lg:overflow-visible; } -.data-table-wrapper { - table { - @apply min-w-full; - } +.data-table { + @apply min-w-full; +} - tbody { - @apply bg-white; - } +.data-table tbody { + @apply bg-white; +} - tr { - @apply border border-gray-300; - } +.data-table tr { + @apply border border-gray-300; +} - th { - @apply px-4 py-2 bg-gray-200 text-left leading-4 font-bold text-primary align-top; - } +.data-table th { + @apply px-4 py-2 bg-gray-200 text-left leading-4 font-bold text-primary align-top; +} - td { - @apply px-4 py-2 leading-5 align-top; +.data-table td { + @apply px-4 py-2 leading-5 align-top; +} - } - - table.horizontal td { - @apply py-4; - } - - .data-table tbody tr { - @apply hover:bg-gray-100; - } +.data-table tbody tr { + @apply hover:bg-gray-100; }