Hide RoomSublist when empty rather than unmounting them
This commit is contained in:
parent
a59873df0b
commit
02debd12f6
3 changed files with 10 additions and 11 deletions
|
@ -18,6 +18,10 @@ limitations under the License.
|
|||
margin-left: 8px;
|
||||
margin-bottom: 4px;
|
||||
|
||||
&.mx_RoomSublist_hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mx_RoomSublist_headerContainer {
|
||||
// Create a flexbox to make alignment easy
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue