From e715197b7a3ea375bd9e5836ce5b24ed0a926f4d Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 3 Mar 2026 01:21:07 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20St=C3=BCndlich-Bereich=20im=20Wetter-Mod?= =?UTF-8?q?al=20scrollbar=20machen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - shrink-0 statt min-w damit Flex-Items nicht zusammengedrückt werden - Scrollbar sichtbar (thin) mit accent-farbigem Styling - Fade-Gradient am rechten Rand als Scroll-Hinweis Co-Authored-By: Claude Opus 4.6 --- web/src/components/WeatherDetailModal.tsx | 60 ++++++++++++----------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/web/src/components/WeatherDetailModal.tsx b/web/src/components/WeatherDetailModal.tsx index c803e5e..edbb30e 100644 --- a/web/src/components/WeatherDetailModal.tsx +++ b/web/src/components/WeatherDetailModal.tsx @@ -112,35 +112,39 @@ export default function WeatherDetailModal({ weather, hourly, onClose, accentCol -
- {hourly.map((slot, i) => ( -
- - {i === 0 ? "Jetzt" : slot.time} - - {slot.icon} - - {Math.round(slot.temp)}° - - {slot.precip_chance > 0 && ( - - {slot.precip_chance}% +
+
+ {hourly.map((slot, i) => ( +
+ + {i === 0 ? "Jetzt" : slot.time} - )} -
- ))} + {slot.icon} + + {Math.round(slot.temp)}° + + {slot.precip_chance > 0 && ( + + {slot.precip_chance}% + + )} +
+ ))} +
+ {/* Scroll fade hint */} +
)}