We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b83503 commit 5cf7bf7Copy full SHA for 5cf7bf7
1 file changed
packages/daisyui/src/components/table.css
@@ -1,7 +1,7 @@
1
.table {
2
@layer daisyui.l1.l2.l3 {
3
font-size: 0.875rem;
4
- @apply rounded-box relative w-full text-left rtl:text-right;
+ @apply rounded-box relative w-full border-separate border-spacing-0 text-left rtl:text-right;
5
6
tr.row-hover {
7
&,
@@ -20,7 +20,7 @@
20
font-weight: 600;
21
}
22
23
- :where(tfoot) {
+ :where(tfoot tr:first-child :is(td, th)) {
24
border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
25
26
@@ -36,7 +36,7 @@
36
@apply bg-base-100 sticky right-0 left-0;
37
38
39
- :where(thead tr, tbody tr:not(:last-child)) {
+ :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th)) {
40
border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
41
42
0 commit comments