diff --git a/components/Dropdown.tsx b/components/Dropdown.tsx index 04dbb1b..b233f3d 100644 --- a/components/Dropdown.tsx +++ b/components/Dropdown.tsx @@ -37,7 +37,7 @@ export default function Dropdown({ useOutsideClick(dropdownRef, () => setIsOpen(false)); return ( -
+
- + @@ -154,7 +162,7 @@ export default function BoardDetailCard({ width={500} height={300} priority - className="h-[300px]] mb-5 w-auto mo:mb-[15px] mo:h-[177px]" + className="mb-5 h-[300px] w-auto mo:mb-[15px] mo:h-[177px]" sizes="(max-width: 743px) 295px, 500px" /> diff --git a/components/boards.page/Comment.tsx b/components/boards.page/Comment.tsx index 6015b53..6830b10 100644 --- a/components/boards.page/Comment.tsx +++ b/components/boards.page/Comment.tsx @@ -69,7 +69,7 @@ export default function Comment({ alt="user profile" width={50} height={50} - className="object-cover" + className="size-full object-cover" />
diff --git a/components/boards.page/CommentForm.tsx b/components/boards.page/CommentForm.tsx index b1db812..bcbc84e 100644 --- a/components/boards.page/CommentForm.tsx +++ b/components/boards.page/CommentForm.tsx @@ -62,6 +62,7 @@ export default function CommentForm({ )} + {/* 베스트 게시글 */} @@ -195,32 +196,24 @@ export default function Boards({
{/* 게시글 목록 */} {boards.length > 0 ? ( <> - {isLoading ? ( -
- -
- ) : ( - <> - - - {/* 페이지네이션 */} -
- setCurrentPage(page)} - /> -
- - )} + + + {/* 페이지네이션 */} +
+ setCurrentPage(page)} + /> +
) : (