From ccfcb34bea6728e800366ee53f80bce25540f6cf Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Tue, 23 Jan 2024 17:20:20 +0100 Subject: [PATCH] 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 --- web/styles/portico/activity.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/web/styles/portico/activity.css b/web/styles/portico/activity.css index 8f996ba99d..c5b109c153 100644 --- a/web/styles/portico/activity.css +++ b/web/styles/portico/activity.css @@ -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; }