Skip to content

Commit

Permalink
better table rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
manglemix committed Jan 28, 2025
1 parent c87244f commit 409d72a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions usr-web/src/routes/(apps)/manifest/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<button onclick={exportCSV}> Export CSV </button>
</div>
</div>
<div class="table-fix-head">
<table>
<thead>
<tr>
Expand Down Expand Up @@ -254,6 +255,7 @@
{/each}
</tbody>
</table>
</div>
</section>

<section id="order-operations" class="mt-4">
Expand Down Expand Up @@ -641,6 +643,7 @@
}
#order-operations-content {
background-color: lightgray;
min-height: 30rem;
}
#order-operations-content > button {
background-color: darkgray;
Expand All @@ -661,4 +664,12 @@
text-decoration: underline;
color: blue;
}
.table-fix-head {
max-height: 25rem;
overflow-y: scroll;
}
.table-fix-head thead th {
position: sticky;
top: 0px;
}
</style>

0 comments on commit 409d72a

Please sign in to comment.