Make chat message list fill the available space
This commit is contained in:
parent
c7d8169cab
commit
c739906413
4 changed files with 13 additions and 8 deletions
|
@ -345,7 +345,7 @@ impl ChatPanel {
|
|||
|
||||
fn render_active_channel_messages(&self, _cx: &mut ViewContext<Self>) -> AnyElement {
|
||||
if self.active_chat.is_some() {
|
||||
list(self.message_list.clone()).into_any_element()
|
||||
list(self.message_list.clone()).full().into_any_element()
|
||||
} else {
|
||||
div().into_any_element()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue