diff --git a/crates/ui/src/components/disclosure.rs b/crates/ui/src/components/disclosure.rs index fa6122273dcabccf0984242835698d0bb3583445..3223a2d57c5a2c74b84563a1af13e821074c849f 100644 --- a/crates/ui/src/components/disclosure.rs +++ b/crates/ui/src/components/disclosure.rs @@ -2,7 +2,7 @@ use std::sync::Arc; use gpui::ClickEvent; -use crate::{prelude::*, Color, IconButton, IconName, IconSize}; +use crate::{prelude::*, Color, IconButton, IconButtonShape, IconName, IconSize}; #[derive(IntoElement)] pub struct Disclosure { @@ -38,6 +38,7 @@ impl RenderOnce for Disclosure { false => IconName::ChevronRight, }, ) + .shape(IconButtonShape::Square) .icon_color(Color::Muted) .icon_size(IconSize::Small) .when_some(self.on_toggle, move |this, on_toggle| {