aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-09-29 22:14:11 +0100
committerGravatar GitHub <[email protected]>2020-09-29 22:14:11 +0100
commit8f8c57350aaad0422b08f11a72916614766b7ba7 (patch)
tree6f90a560303dde230f4e2bb0e66fd4da8ddf6c09 /src
parentMerge pull request #12 from python-discord/routing/add-react-router (diff)
parentReduce scale effect even more (diff)
Merge pull request #13 from python-discord/animation/scale-transition-effect
Switch animation effect to scale
Diffstat (limited to 'src')
-rw-r--r--src/App.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/App.tsx b/src/App.tsx
index 56fbd17..05d8ded 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -34,18 +34,20 @@ body {
position: absolute;
top: 0;
left: 0;
- transition: 300ms ease opacity;
+ transition: 300ms ease-in-out opacity, 300ms ease-in-out transform;
width: 100%;
}
.fade-enter,
.fade-exit-active {
opacity: 0;
+ transform: scale(0.98);
}
.fade-enter-active {
opacity: 1;
z-index: 1;
+ transform: scale(1);
}
`;