Skip to content

Commit ff958c4

Browse files
committed
make table header sticky
Signed-off-by: Alok Kumar <[email protected]>
1 parent e92d03e commit ff958c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
.anchor {color: #6362dc; display: none; margin-left: .2rem; padding: 0 .2rem;}
1818
h4:focus .anchor, h4:hover .anchor {display: inline; text-decoration: none;}
1919
.help_text, .help_text:hover, .help_text:visited {color: #3b4351!important; border-bottom: dotted 0.0625rem #cccccc; text-decoration: inherit;}
20+
.table-head{position: sticky; top: 0; overflow: hidden; background-color: #FFFFFF;}
2021
</style>
2122
<link rel="stylesheet" href="static/spectre-0.5.9.min.css">
2223
<script src="static/jquery-3.5.1.slim.min.js"></script>
@@ -47,7 +48,7 @@
4748
<div class="container">
4849
<div class="loading loading-lg" style="margin-top:50px;"></div>
4950
<table class="display" style="visibility: hidden;">
50-
<thead>
51+
<thead class="table-head">
5152
<tr>
5253
<th>Key</th>
5354
<th>Short name</th>

0 commit comments

Comments
 (0)