fix: Add border above table footer (#2723)

* fix: #2690 Add border above table footer

* fix: #2692 Multi-row table headers has borders
This commit is contained in:
Leo 2024-04-04 21:47:40 +02:00 committed by GitHub
parent b998a51ddf
commit 7d544758a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 5 deletions

View File

@ -25,14 +25,15 @@
@apply [@media(hover:hover)]:hover:bg-base-300;
}
:where(thead, tbody) {
:where(tr:not(:last-child)),
:where(tr:first-child:last-child) {
@apply border-b-base-200 border-b;
}
:where(thead tr, tbody tr:not(:last-child),tbody tr:first-child:last-child) {
@apply border-b-base-200 border-b;
}
:where(thead, tfoot) {
@apply text-base-content/60 whitespace-nowrap text-xs font-bold;
}
:where(tfoot) {
@apply border-t-base-200 border-t;
}
}