Port shared CSS for tables to Tailwind

This commit is contained in:
2022-03-02 15:30:50 -06:00
parent f7d0a0ba85
commit 10f179a095
7 changed files with 37 additions and 74 deletions

View File

@@ -0,0 +1,22 @@
@layer components {
table {
@apply w-full;
}
table thead tr {
@apply text-left;
}
table th {
@apply pb-3.5 text-sm font-normal uppercase text-gray-500;
}
table th:not(:last-of-type),
table td:not(:last-of-type) {
@apply pr-2;
}
table td {
@apply py-2;
}
}