Skip to content

Commit

Permalink
Table styles now only apply to table.rows-and-columns, refs #2420
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Sep 6, 2024
1 parent 6da8d09 commit f601425
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions datasette/static/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f601425

Please sign in to comment.