Skip to content

Commit 409d72a

Browse files
committed
better table rendering
1 parent c87244f commit 409d72a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

usr-web/src/routes/(apps)/manifest/+page.svelte

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@
188188
<button onclick={exportCSV}> Export CSV </button>
189189
</div>
190190
</div>
191+
<div class="table-fix-head">
191192
<table>
192193
<thead>
193194
<tr>
@@ -254,6 +255,7 @@
254255
{/each}
255256
</tbody>
256257
</table>
258+
</div>
257259
</section>
258260

259261
<section id="order-operations" class="mt-4">
@@ -641,6 +643,7 @@
641643
}
642644
#order-operations-content {
643645
background-color: lightgray;
646+
min-height: 30rem;
644647
}
645648
#order-operations-content > button {
646649
background-color: darkgray;
@@ -661,4 +664,12 @@
661664
text-decoration: underline;
662665
color: blue;
663666
}
667+
.table-fix-head {
668+
max-height: 25rem;
669+
overflow-y: scroll;
670+
}
671+
.table-fix-head thead th {
672+
position: sticky;
673+
top: 0px;
674+
}
664675
</style>

0 commit comments

Comments
 (0)