WIP Restyle channel modal

Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
Nate Butler 2023-08-11 13:32:46 -04:00
parent b21b17c120
commit ff1261b300
5 changed files with 64 additions and 76 deletions

View file

@ -175,19 +175,16 @@ impl View for ChannelModal {
this.set_mode(mode, cx);
}
})
.with_cursor_style(if active {
CursorStyle::Arrow
} else {
CursorStyle::PointingHand
})
.with_cursor_style(CursorStyle::PointingHand)
.into_any()
}
Flex::column()
.with_child(Label::new(
format!("#{}", channel.name),
theme.header.clone(),
))
.with_child(
Label::new(format!("#{}", channel.name), theme.header.text.clone())
.contained()
.with_style(theme.header.container.clone()),
)
.with_child(Flex::row().with_children([
render_mode_button::<InviteMembers>(
Mode::InviteMembers,