From b929b15088917c79b5f29ee61777cd227e3786bd Mon Sep 17 00:00:00 2001 From: nabbang6 Date: Thu, 30 Apr 2026 16:12:56 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20width?= =?UTF-8?q?=20=EA=B9=A8=EC=A7=90=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/board/ImageList/ImageCard.tsx | 2 +- src/components/board/ImageList/ImageList.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/board/ImageList/ImageCard.tsx b/src/components/board/ImageList/ImageCard.tsx index 78b0ced9..9eb520c1 100644 --- a/src/components/board/ImageList/ImageCard.tsx +++ b/src/components/board/ImageList/ImageCard.tsx @@ -52,7 +52,7 @@ function ImageCard({ item, className, imgClassName, removable, onRemove }: Image src={item.fileUrl} alt={item.fileName} draggable={false} - className={cn('object-cover', item.uploaded === false && 'opacity-50', imgClassName)} + className={cn(item.uploaded === false && 'opacity-50', imgClassName)} /> {item.uploaded === false && } diff --git a/src/components/board/ImageList/ImageList.tsx b/src/components/board/ImageList/ImageList.tsx index 893797a2..7fb42939 100644 --- a/src/components/board/ImageList/ImageList.tsx +++ b/src/components/board/ImageList/ImageList.tsx @@ -52,7 +52,7 @@ function ImageList({ files, removable, onRemove }: ImageListProps) { 'min-w-[60px] shrink-0 self-stretch', index === files.length - 1 && 'mr-800', )} - imgClassName="h-full w-auto object-contain" + imgClassName="h-full max-w-full object-contain" removable={removable} onRemove={onRemove} /> From 932773baf175971c710dbb963203abbfa81ca189 Mon Sep 17 00:00:00 2001 From: nabbang6 Date: Thu, 30 Apr 2026 16:14:03 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=EB=B6=88=ED=95=84=EC=9A=94?= =?UTF-8?q?=ED=95=9C=20=EC=A3=BC=EC=84=9D=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useNavigationGuard.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hooks/useNavigationGuard.ts b/src/hooks/useNavigationGuard.ts index 0176accf..b4c8d494 100644 --- a/src/hooks/useNavigationGuard.ts +++ b/src/hooks/useNavigationGuard.ts @@ -69,11 +69,8 @@ function useNavigationGuard({ enabled }: UseNavigationGuardOptions) { useEffect(() => { const handlePopState = () => { if (isLeaving.current) return; - // Next.js App Router는 pushState/replaceState 호출 시 popstate를 디스패치한다. - // guard entry 위에 있다면 우리 코드가 pushState한 것이므로 무시한다. if (isGuardEntry()) return; - // guard가 비활성 상태면 guard entry를 투명하게 건너뛴다 if (!enabledRef.current) { if (hasGuardEntry.current) { hasGuardEntry.current = false;