From d7ec46afbde12070d9903230dce47b83c5608e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Thu, 19 Mar 2026 08:36:31 +0900 Subject: [PATCH] =?UTF-8?q?style:=20[items]=20StatCards=206=EA=B0=9C=20?= =?UTF-8?q?=EC=9D=B4=EC=83=81=EC=9D=BC=20=EB=95=8C=20=ED=95=9C=20=ED=96=89?= =?UTF-8?q?=EC=97=90=20=EB=AA=A8=EB=91=90=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - count >= 6일 때 md:grid-cols-6 적용 - 품목관리 화면에서 6개 카드가 한 행에 표시되도록 개선 --- src/components/organisms/StatCards.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/organisms/StatCards.tsx b/src/components/organisms/StatCards.tsx index 7d2ae153..36dab11b 100644 --- a/src/components/organisms/StatCards.tsx +++ b/src/components/organisms/StatCards.tsx @@ -24,9 +24,11 @@ interface StatCardsProps { export function StatCards({ stats }: StatCardsProps) { const count = stats.length; const gridClass = - count >= 5 - ? 'grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 gap-2' - : 'grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-2'; + count >= 6 + ? 'grid grid-cols-2 sm:grid-cols-3 md:grid-cols-6 gap-2' + : count >= 5 + ? 'grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 gap-2' + : 'grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-2'; return (