From e392db1cd73fa38c73be79b19406fdeb82333127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Sat, 9 May 2026 20:17:28 -0400 Subject: [PATCH] Match home section spacing to design (48 + 16, not uniform 40) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The design uses asymmetric spacing — 48 px between the hero and the favorites grid, and only 16 px between favorites and the Continue + Activity recap row. The previous uniform gap(40) flattened both gaps to the same value. Wrap each section in a div with the correct margin so the lower row hugs the favorites strip the way the design does. --- crates/ely_app/src/shell/chrome/home/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/ely_app/src/shell/chrome/home/mod.rs b/crates/ely_app/src/shell/chrome/home/mod.rs index 57ead2f..dde4dba 100644 --- a/crates/ely_app/src/shell/chrome/home/mod.rs +++ b/crates/ely_app/src/shell/chrome/home/mod.rs @@ -31,10 +31,9 @@ pub(crate) fn render_home_page( .pb(px(28.0)) .flex() .flex_col() - .gap(px(40.0)) .child(hero::render_hero(greeting, cx)) - .child(favorites::render_favorites_grid(snapshot, cx)) - .child(recap::render_recap(snapshot, cx)), + .child(div().mt(px(48.0)).child(favorites::render_favorites_grid(snapshot, cx))) + .child(div().mt(px(16.0)).child(recap::render_recap(snapshot, cx))), ) .into_any_element() }