From 64d34657c577816e096db883367f9c27a2f6ee1d Mon Sep 17 00:00:00 2001 From: LATCHIMY Nicolas Date: Wed, 14 Jan 2026 00:20:02 +0400 Subject: [PATCH] ratio maj --- src/components/ui/ParchmentCard.astro | 6 +----- src/layouts/GameLayout.astro | 6 +++--- 2 files changed, 4 insertions(+), 8 deletions(-) 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; - + {title} - +