update sidebar

This commit is contained in:
2026-10-05 20:36:10 +07:00
parent 2a404591d8
commit 9bfa24cf48
6 changed files with 106 additions and 144 deletions
+2
View File
@@ -56,6 +56,7 @@ pub enum IconName {
Message,
Moon,
Plus,
PlusChat,
PlusCircle,
Profile,
Reset,
@@ -139,6 +140,7 @@ impl IconNamed for IconName {
Self::Message => "icons/message.svg",
Self::Moon => "icons/moon.svg",
Self::Plus => "icons/plus.svg",
Self::PlusChat => "icons/plus-chat.svg",
Self::PlusCircle => "icons/plus-circle.svg",
Self::Profile => "icons/profile.svg",
Self::Reset => "icons/reset.svg",
+3 -3
View File
@@ -990,7 +990,7 @@ impl PopupMenu {
let this = MenuItemElement::new(ix, &group_name)
.relative()
.text_sm()
.text_xs()
.py_0()
.px(INNER_PADDING)
.rounded(radius)
@@ -1063,7 +1063,7 @@ impl PopupMenu {
})
.disabled(*disabled)
.h(item_height)
.gap_x_1()
.gap_x_1p5()
.children(Self::render_icon(
has_left_icon,
is_left_check,
@@ -1110,7 +1110,7 @@ impl PopupMenu {
.min_h(item_height)
.size_full()
.items_center()
.gap_x_1()
.gap_x_1p5()
.children(Self::render_icon(
has_left_icon,
false,