Skip to content

Commit c75f402

Browse files
committed
web: make patch list header sticky
Keep the table header row visible when scrolling down a long patch list so column labels remain readable. Signed-off-by: Robin Jarry <robin@jarry.cc>
1 parent c5ad429 commit c75f402

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎pkg/web/static/style.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ patch-list th {
248248
padding: 3px 0.5em;
249249
border-bottom: 2px solid #ddd;
250250
text-align: left;
251+
position: sticky;
252+
top: 0;
253+
background: #fff;
254+
z-index: 1;
251255
}
252256
patch-list th a { color: #333; }
253257
patch-list th a:hover { color: #c00; text-decoration: none; }

0 commit comments

Comments
 (0)