fix: narrow scope of table styles

This commit is contained in:
Björn Fromme
2026-06-23 15:19:26 +02:00
parent ffa2038acb
commit c29634b0d2
+22 -20
View File
@@ -6,31 +6,33 @@
@apply align-middle inline-block min-w-full overflow-hidden lg:overflow-visible; @apply align-middle inline-block min-w-full overflow-hidden lg:overflow-visible;
} }
table { .data-table-wrapper {
@apply min-w-full; table {
} @apply min-w-full;
}
tbody { tbody {
@apply bg-white; @apply bg-white;
} }
tr { tr {
@apply border border-gray-300; @apply border border-gray-300;
} }
th { th {
@apply px-4 py-2 bg-gray-200 text-left leading-4 font-bold text-primary align-top; @apply px-4 py-2 bg-gray-200 text-left leading-4 font-bold text-primary align-top;
} }
td { td {
@apply px-4 py-2 leading-5 align-top; @apply px-4 py-2 leading-5 align-top;
} }
table.horizontal td { table.horizontal td {
@apply py-4; @apply py-4;
} }
.data-table tbody tr { .data-table tbody tr {
@apply hover:bg-gray-100; @apply hover:bg-gray-100;
}
} }