diff --git a/crates/ui/src/list/list.rs b/crates/ui/src/list/list.rs index bf62a0cb..96507eb0 100644 --- a/crates/ui/src/list/list.rs +++ b/crates/ui/src/list/list.rs @@ -595,8 +595,8 @@ where this.child( div() .map(|this| match self.size { - Size::Small => this.py_0().px_1p5(), - _ => this.py_1().px_2(), + Size::Small => this.px_1p5(), + _ => this.px_2(), }) .border_b_1() .border_color(cx.theme().border) @@ -608,6 +608,7 @@ where .text_color(cx.theme().muted_foreground), ) .cleanable() + .p_0() .appearance(false), ), )