Files
zulip/web/templates/inbox_view/inbox_folder_with_channels.hbs
Aman Agrawal 39b560e611 inbox: Remove empty space below filters for hidden folders.
Hidden folders occupied space due to bottom margin.

Fixed by moving the margin to elements which have `display: none`
property so that margin is removed.
2025-09-05 10:35:38 -07:00

26 lines
925 B
Handlebars

{{> inbox_folder_row
name=name
header_id=header_id
is_header_visible=is_header_visible
is_dm_header=false
is_collapsed=is_collapsed
has_unread_mention=has_unread_mention
unread_count=unread_count
}}
<div class="inbox-streams-container inbox-folder-components">
{{#each topics_dict as |key_value_list _index|}}
{{#each ../streams_dict as |stream_key_value _stream_index|}}
{{#if (and (eq stream_key_value.[1].folder_id ../../id) (eq stream_key_value.[0] key_value_list.[0]))}}
<div id="{{key_value_list.[0]}}" class="inbox-folder-channel">
{{> inbox_row stream_key_value.[1]}}
<div class="inbox-topic-container">
{{#each key_value_list.[1]}}
{{> inbox_row this.[1]}}
{{/each}}
</div>
</div>
{{/if}}
{{/each}}
{{/each}}
</div>