Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
🚧 Feedback modal UI 🚧 (#3536)
Joseph T. Lyonsf4c93abad5a1
diff --cc crates/ui2/src/components/button/button_like.rsindex 74dfdc45d89,9f42c95e7e7..7203b3494f1--- a/crates/ui2/src/components/button/button_like.rs+++ b/crates/ui2/src/components/button/button_like.rs@@@ -342,11 -349,9 +349,12 @@@ impl RenderOnce for ButtonLike.when_some(self.width, |this, width| this.w(width)).rounded_md().gap_1()- .px_1()+ .map(|this| match self.size {+ ButtonSize::Default | ButtonSize::Compact => this.px_1(),+ ButtonSize::None => this,+ }).bg(self.style.enabled(cx).background)+ .when(self.disabled, |this| this.cursor_not_allowed()).when(!self.disabled, |this| {this.cursor_pointer().hover(|hover| hover.bg(self.style.hovered(cx).background))