Skip to content

Commit

Permalink
fix: screen loader to center
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoEscaleira committed Apr 27, 2024
1 parent 975235d commit 21dedc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
<RouterProvider
router={router}
fallbackElement={
<div className="flex h-full w-full items-center justify-center">
<div className="flex h-screen w-full items-center justify-center">
<Loader2 size={100} className="animate-spin" />
</div>
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function Component() {
before.
<Typography className="mt-3 font-medium">Are you ready for the adventure?</Typography>
</Typography>
<div className="flex items-center justify-center animate-bounce">
<div className="flex items-center justify-center animate-bounce ">
<Link
to="/game"
className="group inline-flex items-center justify-center rounded-lg bg-gradient-to-br from-green-400 to-blue-600 p-0.5 text-sm font-medium text-gray-900 shadow-md hover:text-white focus:outline-none focus:ring-4 focus:ring-green-200 group-hover:from-green-400 group-hover:to-blue-600"
Expand Down

0 comments on commit 21dedc8

Please sign in to comment.