Skip to content

Commit 597bcc1

Browse files
Fix table overflow styles (#203)
1 parent efb1e59 commit 597bcc1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/styles/docs.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,11 +443,11 @@
443443
& table {
444444
text-indent: 0;
445445
border-spacing: 0;
446-
@apply my-10 w-full max-w-full border-collapse overflow-auto border-[color:inherit] text-left;
446+
@apply block my-10 w-full max-w-full border-collapse overflow-auto border-[color:inherit] text-left;
447447
}
448448

449449
& table th {
450-
@apply sticky top-0 bg-transparent text-sm font-semibold text-gray-700 dark:text-gray-300;
450+
@apply w-full sticky top-0 bg-transparent text-sm font-semibold text-gray-700 dark:text-gray-300;
451451
@apply border-0 border-b border-gray-200 p-0 pb-1 pr-4 dark:border-gray-800;
452452
}
453453

@@ -456,7 +456,7 @@
456456
}
457457

458458
& table td {
459-
@apply whitespace-nowrap border-0 border-b border-gray-100 p-0 py-2 pr-4 text-sm text-black dark:text-white;
459+
@apply w-full whitespace-nowrap border-0 border-b border-gray-100 p-0 py-2 pr-4 text-sm text-black dark:border-gray-800 dark:text-white;
460460
}
461461

462462
/*****************************************************************************/

0 commit comments

Comments
 (0)