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.

settings: Make stream and group settings thead sticky.

Maneesh Shukla94bbfaebe467
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 8103ec1de30..6ec646bd792 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -175,18 +175,20 @@ h4.user_group_setting_subsection_title {
}
}
- & thead th {
- &:first-of-type {
- border-top-left-radius: 4px;
- }
-
- &:last-of-type {
- border-top-right-radius: 4px;
- }
-
+ & thead {
position: sticky;
top: 0;
z-index: 1;
+
+ th {
+ &:first-of-type {
+ border-top-left-radius: 4px;
+ }
+
+ &:last-of-type {
+ border-top-right-radius: 4px;
+ }
+ }
}
.hidden-subscriber-email {