Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ui: Adjust BoxShadow offset for elevation styles (#47010)
Ikea4ebfa0e7a52
diff --git a/crates/ui/src/styles/elevation.rs b/crates/ui/src/styles/elevation.rsindex 35e8e499b93..e6df718b8f7 100644--- a/crates/ui/src/styles/elevation.rs+++ b/crates/ui/src/styles/elevation.rs@@ -55,7 +55,7 @@ impl ElevationIndex {},BoxShadow {color: hsla(0., 0., 0., if is_light { 0.03 } else { 0.06 }),- offset: point(px(1.), px(1.)),+ offset: point(px(0.), px(1.)),blur_radius: px(0.),spread_radius: px(0.),},@@ -82,7 +82,7 @@ impl ElevationIndex {},BoxShadow {color: hsla(0., 0., 0., if is_light { 0.04 } else { 0.12 }),- offset: point(px(1.), px(1.)),+ offset: point(px(0.), px(1.)),blur_radius: px(0.),spread_radius: px(0.),},