From 402c61c00d1557a1ecb27486d9d5e3671a62d902 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Mon, 30 Jun 2025 11:19:58 -0300 Subject: [PATCH] Add small UI tweak to the inline color preview square (#33655) Follow-up to https://github.com/zed-industries/zed/pull/33605 so it is just a bit more subtle and smaller. Release Notes: - N/A --- crates/editor/src/display_map/inlay_map.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/editor/src/display_map/inlay_map.rs b/crates/editor/src/display_map/inlay_map.rs index 488e31c90a..49b5ce1d26 100644 --- a/crates/editor/src/display_map/inlay_map.rs +++ b/crates/editor/src/display_map/inlay_map.rs @@ -344,16 +344,14 @@ impl<'a> Iterator for InlayChunks<'a> { id: ChunkRendererId::Inlay(inlay.id), render: Arc::new(move |cx| { div() - .w_4() - .h_4() .relative() + .size_3p5() .child( div() .absolute() .right_1() - .w_3p5() - .h_3p5() - .border_2() + .size_3() + .border_1() .border_color(cx.theme().colors().border) .bg(color), )