diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs index 86cdbeb7be..77ca322b7c 100644 --- a/crates/editor/src/element.rs +++ b/crates/editor/src/element.rs @@ -2283,7 +2283,7 @@ impl EditorElement { }); }) .tooltip(Tooltip::for_action_title( - "Expand excerpt", + "Expand Excerpt", &crate::actions::ExpandExcerpts::default(), )) .into_any_element(); @@ -2903,8 +2903,8 @@ impl EditorElement { .child( ButtonLike::new("toggle-buffer-fold") .style(ui::ButtonStyle::Transparent) - .size(ButtonSize::Large) - .width(px(24.).into()) + .height(px(28.).into()) + .width(px(28.).into()) .children(toggle_chevron_icon) .tooltip({ let focus_handle = focus_handle.clone(); diff --git a/crates/ui/src/components/button/button_like.rs b/crates/ui/src/components/button/button_like.rs index e9ea85b01d..dc5aca8ca3 100644 --- a/crates/ui/src/components/button/button_like.rs +++ b/crates/ui/src/components/button/button_like.rs @@ -398,7 +398,7 @@ impl ButtonLike { self } - pub(crate) fn height(mut self, height: DefiniteLength) -> Self { + pub fn height(mut self, height: DefiniteLength) -> Self { self.height = Some(height); self }