From f601425015872dc2d0745ddd55dac89d2cb4c580 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 5 Sep 2024 20:11:23 -0700 Subject: [PATCH] Table styles now only apply to table.rows-and-columns, refs #2420 --- datasette/static/app.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/datasette/static/app.css b/datasette/static/app.css index e050c4c2dc..aef5bdf989 100644 --- a/datasette/static/app.css +++ b/datasette/static/app.css @@ -450,28 +450,28 @@ h2 em { .table-wrapper { overflow-x: auto; } -table { +table.rows-and-columns { border-collapse: collapse; } -td { +table.rows-and-columns td { border-top: 1px solid #aaa; border-right: 1px solid #eee; padding: 4px; vertical-align: top; white-space: pre-wrap; } -td.type-pk { +table.rows-and-columns td.type-pk { font-weight: bold; } -td em { +table.rows-and-columns td em { font-style: normal; font-size: 0.8em; color: #aaa; } -th { +table.rows-and-columns th { padding-right: 1em; } -table a:link { +table.rows-and-columns a:link { text-decoration: none; } .rows-and-columns td:before {