diff --git a/src/components/ui/ParchmentCard.astro b/src/components/ui/ParchmentCard.astro index c41fd4d..ee11986 100644 --- a/src/components/ui/ParchmentCard.astro +++ b/src/components/ui/ParchmentCard.astro @@ -15,10 +15,6 @@ padding: 2rem; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); backdrop-filter: blur(4px); /* Effet de verre dépoli pour voir la texture du fond */ - margin: 0 auto 2rem auto; /* Centre la carte horizontalement */ - - /* Contraint la largeur pour une meilleure lisibilité (environ 75 caractères) */ - width: 100%; - max-width: 75ch; + margin-bottom: 2rem; } \ No newline at end of file diff --git a/src/layouts/GameLayout.astro b/src/layouts/GameLayout.astro index 3eaea46..6b990e7 100644 --- a/src/layouts/GameLayout.astro +++ b/src/layouts/GameLayout.astro @@ -1,5 +1,5 @@ --- -import { ViewTransitions } from 'astro:transitions'; +import { ClientRouter } from 'astro:transitions'; import GameNav from '../components/ui/GameNav.astro'; interface Props { @@ -14,11 +14,11 @@ const { title } = Astro.props;
- +