fix(whyparents): remove left-edge fade from gallery mask
Some checks failed
CI / Type Check (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
Deploy / Build & Push Image (push) Has been cancelled
Deploy / Deploy to VPS (push) Has been cancelled

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-05-11 16:48:09 +01:00
parent ce064bce7a
commit f01f2d2698

View file

@ -182,13 +182,7 @@ export function WhyParents({ items, sideGallery, title }: WhyParentsProps) {
{/* Horizontal auto-scroll gallery — desktop */}
<div className="hidden flex-1 overflow-hidden lg:block">
<div
className="relative"
style={{
maskImage: 'linear-gradient(90deg, transparent 0%, black 8%)',
WebkitMaskImage: 'linear-gradient(90deg, transparent 0%, black 8%)',
}}
>
<div className="relative">
<div
ref={galleryRef}
className="flex gap-5 overflow-x-auto"