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.
This commit is contained in:
Aman Agrawal
2025-09-05 12:24:31 +05:30
committed by Tim Abbott
parent 257cfad667
commit 39b560e611
2 changed files with 11 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
{{#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]}}">
<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]}}