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 ? ( - onOpen(first)} className="relative z-10 w-32"> + onOpen(first)} className="relative z-10 w-32 lg:w-40"> ) : ( @@ -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 (