fix: table styles

This commit is contained in:
Cory Dransfeldt 2024-06-11 19:54:22 -07:00
parent 15b2fae8a2
commit e900e0256b
No known key found for this signature in database
2 changed files with 1 additions and 10 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.1.0", "version": "19.1.1",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -215,11 +215,7 @@ hr {
/* tables */ /* tables */
table { table {
display: block;
overflow-x: auto;
width: 100%;
border: 1px solid var(--gray-light); border: 1px solid var(--gray-light);
white-space: nowrap;
} }
table, table,
@ -241,12 +237,7 @@ tr:not(:last-child) {
th, th,
td { td {
padding: var(--sizing-sm); padding: var(--sizing-sm);
min-width: max-content;
word-break: break-word;
width: 100%; width: 100%;
}
td {
min-width: calc(var(--sizing-3xl) * 2); min-width: calc(var(--sizing-3xl) * 2);
} }