Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

assistant2: Fix context strip context popover position in relation to trigger (#22966)

Danilo Leal5310e33356d5
diff --git a/crates/assistant2/src/context_strip.rs b/crates/assistant2/src/context_strip.rs
index 0dd3a274c1e..32a2ce2e11e 100644
--- a/crates/assistant2/src/context_strip.rs
+++ b/crates/assistant2/src/context_strip.rs
@@ -196,7 +196,7 @@ impl Render for ContextStrip {
.anchor(gpui::Corner::BottomLeft)
.offset(gpui::Point {
x: px(0.0),
- y: px(-16.0),
+ y: px(-2.0),
})
.with_handle(self.context_picker_menu_handle.clone()),
)