mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
inbox: Avoid extra margin from folders hidden by filters.
If all channels in a folder are muted, then this margin is present in "Standard view", without there being any folder present. Fixed by only applying margin if the folder has any header or rows that are not hidden by filters. This is an alternative fix to #35962 which was reverted in #36123.
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user