diff options
| author | 2020-09-29 01:28:42 +0100 | |
|---|---|---|
| committer | 2020-09-29 01:28:42 +0100 | |
| commit | 74aa9e2bc1a45647ca545a63e663550ab8255404 (patch) | |
| tree | 4a832c757b48f298d0334729130eaa3766cf773f /src | |
| parent | Merge pull request #12 from python-discord/routing/add-react-router (diff) | |
Scale the page slightly when loading new pages
Diffstat (limited to 'src')
| -rw-r--r-- | src/App.tsx | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/App.tsx b/src/App.tsx index 56fbd17..361ea0d 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.9);  }  .fade-enter-active {    opacity: 1;    z-index: 1; +  transform: scale(1);  }  `; | 
