From 0bf6002e7b1326822495843c369b59658eda786b Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 11 Oct 2026 19:17:20 +0000 Subject: [PATCH] =?UTF-8?q?Top=205=20sur=20ordinateur=20:=20n=C2=B01=20plu?= =?UTF-8?q?s=20grand,=20n=C2=B02=20=C3=A0=205=20en=20petit=20comme=20sur?= =?UTF-8?q?=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La rangée des n°2 à 5 ne s'étire plus sur toute la largeur de l'écran. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe --- src/components/TopFive.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/TopFive.tsx b/src/components/TopFive.tsx index d85826b..6791018 100644 --- a/src/components/TopFive.tsx +++ b/src/components/TopFive.tsx @@ -35,7 +35,7 @@ function EmptySlot({ rank, onClick, big }: { rank: number; onClick: () => void; onClick={onClick} className={cx( 'grid aspect-[2/3] place-items-center rounded-xl border border-dashed border-line-strong text-ink-3 transition-colors active:bg-surface-2', - big ? 'w-32' : 'w-full', + big ? 'w-32 lg:w-40' : 'w-full', )} aria-label={t('top.pick', { rank })} > @@ -100,7 +100,7 @@ export default function TopFive({ onOpen }: { onOpen: (item: MediaItem) => void {first ? ( - ) : ( @@ -126,8 +126,9 @@ export default function TopFive({ onOpen }: { onOpen: (item: MediaItem) => void - {/* N°2 à 5 : chiffres en contour qui dépassent derrière les affiches */} -
+ {/* N°2 à 5 : chiffres en contour qui dépassent derrière les affiches. + Sur grand écran, la rangée garde les proportions du mobile (affiches plus petites que le n°1). */} +
{[2, 3, 4, 5].map((rank) => { const item = byRank.get(rank) return (