From 1a94e4c4ca7300e855a064e67c7a1c03af374790 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Fri, 15 Aug 2025 09:17:30 +0000 Subject: [PATCH] Improve weather display readability for last year's data Adjusted styling in WeatherWidget.tsx for last year's temperature and condition display to prevent text cutoff and enhance visual presentation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: d43bd811-9372-45a7-8ac9-4a954c0538e1 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/d43bd811-9372-45a7-8ac9-4a954c0538e1/8hBroCv --- client/src/components/WeatherWidget.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/components/WeatherWidget.tsx b/client/src/components/WeatherWidget.tsx index 1a84bf8..913c595 100644 --- a/client/src/components/WeatherWidget.tsx +++ b/client/src/components/WeatherWidget.tsx @@ -152,7 +152,7 @@ export default function WeatherWidget() { return ( - +
{/* Icône et localisation */}
@@ -183,18 +183,18 @@ export default function WeatherWidget() { {/* Comparaison avec l'an dernier */} {previousTemp !== undefined && ( <> -
-
+
+
{Math.round(previousTemp)}°
-
+
Année dernière
-
+
{translateToFrench(weather.previousYear?.condition || '')}