Skip to content

Commit cb00405

Browse files
committed
fix min/max offsets in Marquee example
1 parent 646e4b6 commit cb00405

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

examples/components/Marquee/Marquee.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import boxOutline from '!!raw-loader!./box-outline.svg';
88
const Marquee = () => (
99
<div className={style.root}>
1010
<Parallax
11-
offsetYMax={-20}
12-
offsetYMin={20}
11+
offsetYMax={20}
12+
offsetYMin={-20}
1313
slowerScrollRate
1414
>
1515
<hr className={style.hr} />
@@ -21,19 +21,19 @@ const Marquee = () => (
2121
/>
2222
<Parallax
2323
className={style.text}
24-
offsetYMax={-70}
25-
offsetYMin={70}
24+
offsetYMax={70}
25+
offsetYMin={-70}
2626
offsetXMax={-20}
2727
offsetXMin={20}
2828
>
2929
<h1>
30-
Scroll
30+
Slide
3131
</h1>
3232
</Parallax>
3333
<Parallax
3434
className={style.boxOutline}
35-
offsetYMax={-35}
36-
offsetYMin={35}
35+
offsetYMax={35}
36+
offsetYMin={-35}
3737
>
3838
<Svg svg={boxOutline} />
3939
</Parallax>

0 commit comments

Comments
 (0)