Add spaces between leave call and call status icons, and call status icons and user menu
This commit is contained in:
parent
b8134518d8
commit
ee336cb87f
1 changed files with 14 additions and 9 deletions
|
@ -210,15 +210,19 @@ impl Render for CollabTitlebarItem {
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.child(
|
.child(
|
||||||
IconButton::new("leave-call", ui::Icon::Exit)
|
div()
|
||||||
.style(ButtonStyle::Subtle)
|
.child(
|
||||||
.tooltip(|cx| Tooltip::text("Leave call", cx))
|
IconButton::new("leave-call", ui::Icon::Exit)
|
||||||
.icon_size(IconSize::Small)
|
.style(ButtonStyle::Subtle)
|
||||||
.on_click(move |_, cx| {
|
.tooltip(|cx| Tooltip::text("Leave call", cx))
|
||||||
ActiveCall::global(cx)
|
.icon_size(IconSize::Small)
|
||||||
.update(cx, |call, cx| call.hang_up(cx))
|
.on_click(move |_, cx| {
|
||||||
.detach_and_log_err(cx);
|
ActiveCall::global(cx)
|
||||||
}),
|
.update(cx, |call, cx| call.hang_up(cx))
|
||||||
|
.detach_and_log_err(cx);
|
||||||
|
}),
|
||||||
|
)
|
||||||
|
.pr_2(),
|
||||||
)
|
)
|
||||||
.when(!read_only, |this| {
|
.when(!read_only, |this| {
|
||||||
this.child(
|
this.child(
|
||||||
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue