Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Refine diagnostic icons in tabs (#21637)
Danilo Leale8f0ebc881dd
diff --git a/assets/icons/triangle.svg b/assets/icons/triangle.svgindex 8c44b91b78d..0ecf071e245 100644--- a/assets/icons/triangle.svg+++ b/assets/icons/triangle.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">- <path d="M8 4L4 12H12L8 4Z" fill="currentColor"/>+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M8.5 3L3 12H14L8.5 3Z" fill="black"/></svg>diff --git a/assets/icons/x.svg b/assets/icons/x.svgindex d090cb55bfe..5d91a9edd99 100644--- a/assets/icons/x.svg+++ b/assets/icons/x.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">- <path d="M4 4L12 12M12 4L4 12" stroke="currentColor" stroke-width="2"/>+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M5 4.5L12 11.5M12 4.5L5 11.5" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rsindex c0a80cc9431..8264cb2a4a0 100644--- a/crates/workspace/src/pane.rs+++ b/crates/workspace/src/pane.rs@@ -2145,7 +2145,7 @@ impl Pane {.child(if let Some(decorated_icon) = decorated_icon {div().child(decorated_icon.into_any_element())} else if let Some(icon) = icon {- div().child(icon.into_any_element())+ div().mt(px(2.5)).child(icon.into_any_element())} else {div()})