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 spacing in diagnostics tab (#3844)

Marshall Bowers2b9570e3e797
diff --git a/crates/diagnostics2/src/diagnostics.rs b/crates/diagnostics2/src/diagnostics.rs
index bd262e8bbfa..4c2e01c320d 100644
--- a/crates/diagnostics2/src/diagnostics.rs
+++ b/crates/diagnostics2/src/diagnostics.rs
@@ -663,6 +663,7 @@ impl Item for ProjectDiagnosticsEditor {
.when(self.summary.warning_count > 0, |then| {
then.child(
h_stack()
+ .gap_1()
.child(
IconElement::new(Icon::ExclamationTriangle).color(Color::Warning),
)