From aa25e378b9f5054b70bfa4e0823d262bed7fe518 Mon Sep 17 00:00:00 2001 From: tisachi Date: Sat, 5 Sep 2026 03:24:18 +0200 Subject: [PATCH] Tabs: gradientowe wygaszenie krawedzi scrolla - uciety tekst nie styka sie ze strzalka --- app/src/components/ui/content.tsx | 55 ++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/app/src/components/ui/content.tsx b/app/src/components/ui/content.tsx index 618983e..c0318ac 100644 --- a/app/src/components/ui/content.tsx +++ b/app/src/components/ui/content.tsx @@ -266,25 +266,42 @@ export function Tabs({ )} -
- {tabs.map((t) => ( - - ))} +
+
+ {tabs.map((t) => ( + + ))} +
+ {/* miękkie wygaszenie krawędzi — ucięty tekst znika zanim dojdzie do strzałki */} + {canPrev && ( +