channels: Move name of the channel to the same line as the hash icon.

This commit is contained in:
Piotr Osiewicz committed 2024-01-04 12:11:23 +01:00
1 parent 4cff057415
commit 36b8aedc4c
1 file changed
+8 -2
@@ -164,8 +164,14 @@ impl Render for ChannelModal {
.py_1()
.rounded_t(px(8.))
.bg(cx.theme().colors().element_background)
.child(IconElement::new(Icon::Hash).size(IconSize::Medium))
.child(Label::new(channel_name))
.child(
h_stack()
.w_px()
.flex_1()
.gap_1()
.child(IconElement::new(Icon::Hash).size(IconSize::Medium))
.child(Label::new(channel_name)),
)
.child(
h_stack()
.w_full()