From a63e4980675c60cdf0453627cca48294750176c7 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 26 Mar 2026 17:37:27 -0400 Subject: [PATCH] fix: weather card spacing and sizing consistency - Increase temp size to 2rem and add explicit font-size to condition - Uniform 0.5rem spacing below current temp (was 0.35rem) - Today row font-size explicit at 0.85rem - Forecast gap 0.75rem (was 0.5rem), min-width 4.5rem (was 3.5rem) - Padding-top on forecast strip 0.75rem to match overall rhythm Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/components/WeatherCard.vue | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/WeatherCard.vue b/frontend/src/components/WeatherCard.vue index 6073e77..e83f604 100644 --- a/frontend/src/components/WeatherCard.vue +++ b/frontend/src/components/WeatherCard.vue @@ -107,34 +107,36 @@ const fetchedAtLabel = computed(() => { display: flex; align-items: baseline; gap: 0.75rem; - margin-bottom: 0.35rem; + margin-bottom: 0.5rem; } .weather-temp { - font-size: 1.8rem; + font-size: 2rem; font-weight: 700; line-height: 1; } .weather-condition { color: var(--color-text-muted); + font-size: 0.9rem; } .weather-today { color: var(--color-text-secondary); margin-bottom: 0.75rem; + font-size: 0.85rem; } .weather-delta { color: var(--color-text-muted); - font-size: 0.85rem; + font-size: 0.82rem; } .weather-forecast { display: flex; - gap: 0.5rem; + gap: 0.75rem; overflow-x: auto; - padding-top: 0.5rem; + padding-top: 0.75rem; border-top: 1px solid var(--color-border); } @@ -142,8 +144,8 @@ const fetchedAtLabel = computed(() => { display: flex; flex-direction: column; align-items: center; - gap: 0.2rem; - min-width: 3.5rem; + gap: 0.25rem; + min-width: 4.5rem; font-size: 0.8rem; }