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:
parent
b998a51ddf
commit
7d544758a5
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue