Add spaces between leave call and call status icons, and call status icons and user menu

This commit is contained in:
Kirill Bulatov 2024-01-06 11:56:01 +02:00
parent b8134518d8
commit ee336cb87f

View file

@ -209,6 +209,8 @@ impl Render for CollabTitlebarItem {
)), )),
) )
}) })
.child(
div()
.child( .child(
IconButton::new("leave-call", ui::Icon::Exit) IconButton::new("leave-call", ui::Icon::Exit)
.style(ButtonStyle::Subtle) .style(ButtonStyle::Subtle)
@ -220,6 +222,8 @@ impl Render for CollabTitlebarItem {
.detach_and_log_err(cx); .detach_and_log_err(cx);
}), }),
) )
.pr_2(),
)
.when(!read_only, |this| { .when(!read_only, |this| {
this.child( this.child(
IconButton::new( IconButton::new(
@ -296,6 +300,7 @@ impl Render for CollabTitlebarItem {
}), }),
) )
}) })
.child(div().pr_2())
}) })
.map(|el| { .map(|el| {
let status = self.client.status(); let status = self.client.status();