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.

inbox: Avoid extra margin from folders hidden by filters.

Aman Agrawalf2a11c585858
diff --git a/web/styles/inbox.css b/web/styles/inbox.css
index 343641314fb..8575a974536 100644
--- a/web/styles/inbox.css
+++ b/web/styles/inbox.css
@@ -639,10 +639,14 @@
}
.inbox-folder-components {
- margin-bottom: 0.5em;
border-radius: 5px;
border: 0.5px solid hsl(0deg 0% 0% / 13%);
overflow: hidden;
+
+ &:has(.inbox-row:not(.hidden_by_filters)),
+ &:has(.inbox-header:not(.hidden_by_filters)) {
+ margin-bottom: 0.5em;
+ }
}
.inbox-folder.inbox-collapsed-state,