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.

Fix assistant message header padding (#12386)

Antonio Scandurraac7aca335dfd
diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rs
index 0da165d1649..c12986787cb 100644
--- a/crates/assistant/src/assistant_panel.rs
+++ b/crates/assistant/src/assistant_panel.rs
@@ -3094,7 +3094,7 @@ impl ConversationEditor {
h_flex()
.id(("message_header", message_id.0))
- .pl(cx.gutter_dimensions.width)
+ .pl(cx.gutter_dimensions.width + cx.gutter_dimensions.margin)
.h_11()
.w_full()
.relative()