Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

activity-css: Make activity charts header row sticky.

Lauryn Menardccfcb34bea67
diff --git a/web/styles/portico/activity.css b/web/styles/portico/activity.css
index 8f996ba99d6..c5b109c1536 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;
}