Files
ray-project--ray/python/ray/widgets/templates/scrollableTable.html.j2
T
2026-07-13 13:17:40 +08:00

21 lines
367 B
Django/Jinja

<div class="scrollableTable jp-RenderedHTMLCommon">
{{ table }}
</div>
<style>
.scrollableTable {
overflow-y: auto;
max-height: {{ max_height }};
}
.scrollableTable table {
width: 100%;
}
.scrollableTable table :is(th,td) {
text-align: left !important;
}
.scrollableTable th {
background: var(--jp-layout-color1);
position: sticky;
top: 0;
}
</style>