activity-css: Make activity charts header row sticky.

This will be applied to both the overall installation activity chart
as well as the associated remote, client, realm and user views.

Co-authored-by: Karl Stolley <karl@zulip.com>
This commit is contained in:
Lauryn Menard
2024-01-23 17:20:20 +01:00
committed by Tim Abbott
parent 9fa39ce71d
commit ccfcb34bea

View File

@@ -4,6 +4,12 @@
.activity-head {
background-color: hsl(208deg 100% 97%);
position: sticky;
top: 0;
& th {
border-bottom: 1px solid hsl(0deg 0% 87%);
}
}
.table-striped {
@@ -53,6 +59,10 @@
background-color: hsl(0deg 0% 98%);
}
tbody tr:first-child td {
border-top: 0;
}
thead tr:first-child > th:first-child {
border-top-left-radius: 4px;
}