From ef7eeb27a1b195f63b9007563c34716d0d4baef6 Mon Sep 17 00:00:00 2001 From: Felix Zett Date: Sat, 20 Sep 2025 21:00:23 +0200 Subject: [PATCH] feat: enhance progress gradient --- frontend/src/pages/TripChecklist.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/TripChecklist.tsx b/frontend/src/pages/TripChecklist.tsx index 8257dc0..6580823 100644 --- a/frontend/src/pages/TripChecklist.tsx +++ b/frontend/src/pages/TripChecklist.tsx @@ -241,15 +241,20 @@ export default function TripChecklist({ trips }: { trips: any[] }) { const progress = totalItems > 0 ? Math.round((checkedItems / totalItems) * 100) : 0; // Progress gradient for header background (always full width) - const progressGradient = `linear-gradient(140deg, #f59e42 0%, #facc15 50%, #22c55e 100%)`; + const progressGradient = ` + linear-gradient(90deg,#facc15 0%, #22c55e 100%), + linear-gradient(to top, rgba(255,255,255,0) 6%, rgba(255, 255, 255, 1) 8%) +`; return (
{/* Overlay: shrinking box from the right */}