Skip to content

Commit a965e4c

Browse files
Remove fly in animations cause they sucked and remove scrollbars while animating masonry
Fixes #131
1 parent 0833e37 commit a965e4c

3 files changed

Lines changed: 21 additions & 15 deletions

File tree

src/animations/card.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
import { Variants } from "framer-motion";
22

33
export const CARD_VARIANTS: Variants = {
4-
initial: {
5-
x: 300,
6-
opacity: 0,
7-
},
8-
animate: (i: any) => {
9-
return {
10-
x: 0,
11-
opacity: 1,
12-
transition: {
13-
delay: i * 0.1,
14-
},
15-
};
16-
},
4+
// initial: {
5+
// x: 300,
6+
// opacity: 0,
7+
// },
8+
// animate: (i: any) => {
9+
// return {
10+
// x: 0,
11+
// opacity: 1,
12+
// transition: {
13+
// delay: i * 0.1,
14+
// },
15+
// };
16+
// },
1717
whileHover: { scale: 1.01 },
1818
whileTap: { scale: 0.99 },
1919
};

src/components/AwesomeArcadeList/Extension/extension.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ export function AwesomeArcadeExtensionGroup({
7070
}, [router.events]);
7171

7272
return (
73-
<div className={pad == undefined || pad ? "mb-3" : ""}>
73+
<div
74+
className={pad == undefined || pad ? "mb-3" : ""}
75+
style={{ overflow: "hidden" }}
76+
>
7477
{title}
7578
{description}
7679
{(() => {

src/components/AwesomeArcadeList/Tool/tool.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ export function AwesomeArcadeToolGroup({
6969
}, [router.events]);
7070

7171
return (
72-
<div className={pad == undefined || pad ? "mb-3" : ""}>
72+
<div
73+
className={pad == undefined || pad ? "mb-3" : ""}
74+
style={{ overflow: "hidden" }}
75+
>
7376
{title}
7477
{description}
7578
{(() => {

0 commit comments

Comments
 (0)