From bbb267f2bfd45d08ed3ae78e3dede01cc3b57588 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Thu, 24 Apr 2025 21:01:11 +0800 Subject: [PATCH] accordion: Add gap between title and icon. (#813) --- crates/ui/src/accordion.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ui/src/accordion.rs b/crates/ui/src/accordion.rs index 8af31e55..3cd3775f 100644 --- a/crates/ui/src/accordion.rs +++ b/crates/ui/src/accordion.rs @@ -232,6 +232,7 @@ impl RenderOnce for AccordionItem { h_flex() .id(self.index) .justify_between() + .gap_3() .map(|this| match self.size { Size::XSmall => this.py_0().px_1p5(), Size::Small => this.py_0p5().px_2(),