Files
docs/assets/css/tables.css
T
David Karlsson fbab835920 css: improve table display
- Use full reading col width for tables on large screens
- Use `display: block; overflow-x: scroll;` on small screens

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-06 20:52:09 +01:00

13 lines
258 B
CSS

.prose table {
@apply table w-full text-base sm:block overflow-x-auto;
thead tr {
@apply bg-gray-light-300 dark:bg-gray-dark-300
}
tbody tr:nth-of-type(2n) {
@apply bg-gray-light-200 dark:bg-gray-dark-200
}
th, td {
@apply p-2;
}
}