Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/view/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
<table class="table-view" style={{gridTemplateColumns: `repeat(${state.fields.size+1}, 1fr)`}}>
<thead>
<tr>
<th></th>
<th>Title</th>
{[...state.fields].map(f => <th>{f}</th>)}
</tr>
</thead>
Expand Down
7 changes: 7 additions & 0 deletions web/static/app/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -295,15 +295,22 @@ svg.node-bullet circle#node-collapsed-handle {

.table-view {
display: grid;
margin-bottom: calc(var(--padding)/4);
}
.table-view th {
border-bottom: solid 1px var(--color-outline-secondary);
margin-bottom: calc(var(--padding)/2);
padding-bottom: calc(var(--padding)/2);
text-align: left;
}
.table-view thead,
.table-view tbody,
.table-view tr {
display: contents;
}
.table-view thead th:first-child {
padding-left: 24px;
}

/*------------NOTICES------------*/
.notice {
Expand Down