Skip to content

Commit c494fdf

Browse files
Fix: Onboarding carousel shadow clipping
Ensure shadows in the onboarding carousel are fully visible by setting `overflow: visible` on the parent container.
1 parent d29d4b9 commit c494fdf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/components/OnboardingCarousel.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ export const OnboardingCarousel = ({ onComplete }: OnboardingCarouselProps) => {
6666
<div className="min-h-screen bg-gradient-to-br from-blue-50/50 via-white to-purple-50/50 relative overflow-visible">
6767
<DashboardBackground />
6868

69-
<div className="relative z-10 min-h-screen flex items-center justify-center px-4">
70-
<div className="w-full max-w-4xl">
69+
<div className="relative z-10 min-h-screen flex items-center justify-center px-4 overflow-visible">
70+
<div className="w-full max-w-4xl overflow-visible">
7171
{/* Header avec logo */}
7272
<div className="text-center mb-8">
7373
<div className="flex items-center justify-center gap-3 mb-4">
@@ -79,14 +79,14 @@ export const OnboardingCarousel = ({ onComplete }: OnboardingCarouselProps) => {
7979
<p className="text-slate-600">Découvrez comment fonctionne votre plateforme d'affiliation</p>
8080
</div>
8181

82-
<Carousel className="w-full" setApi={setApi}>
83-
<CarouselContent>
82+
<Carousel className="w-full overflow-visible" setApi={setApi}>
83+
<CarouselContent className="overflow-visible">
8484
{slides.map((slide, index) => {
8585
const IconComponent = slide.icon;
8686
return (
87-
<CarouselItem key={slide.id}>
88-
<Card className="bg-white/80 backdrop-blur-sm border-slate-200/50 shadow-2xl">
89-
<CardContent className="p-12 text-center">
87+
<CarouselItem key={slide.id} className="overflow-visible">
88+
<Card className="bg-white/80 backdrop-blur-sm border-slate-200/50 shadow-2xl overflow-visible">
89+
<CardContent className="p-12 text-center overflow-visible">
9090
{/* Icône avec gradient */}
9191
<div className={`w-24 h-24 mx-auto mb-8 bg-gradient-to-r ${slide.color} rounded-full flex items-center justify-center shadow-xl`}>
9292
<IconComponent className="w-12 h-12 text-white" />

0 commit comments

Comments
 (0)