Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/SLB-405-Fade-effect' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Luqmaan Essop committed Jun 5, 2024
2 parents b62d7f0 + c881d78 commit 972f22a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/components/Molecules/FadeUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function FadeUp({
reducedMotion ? 'reducedMotion: On' : 'reducedMotion: Off',
)}
transition={{ duration: 0.8 }}
style={{ opacity: reducedMotion ? 1 : 0, y: reducedMotion ? 0 : yGap }}
initial={{ opacity: reducedMotion ? 1 : 0, y: reducedMotion ? 0 : yGap }}
viewport={{ once: true }}
whileInView={{ opacity: 1, y: 0 }}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { FadeUp } from '../../Molecules/FadeUp';

export function BlockImageTeasers(props: BlockImageTeasersFragment) {
return (
<FadeUp yGap={50}>
<section className="my-10 block-background-image-cards">
<FadeUp yGap={50} className="my-10 block-background-image-cards">
<section>
<div className="text-center">
<div
className={clsx('grid gap-2', {
Expand Down

0 comments on commit 972f22a

Please sign in to comment.