Skip to content

Commit

Permalink
feat: 책이 왼쪽부터 차례로 배치되도록 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
minjongbaek committed Dec 2, 2023
1 parent 281a826 commit f9bcaa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v1/bookShelf/BookShelf.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ type BooksProps = Pick<APIBookshelf, 'books'>;

const Books = ({ books }: BooksProps) => {
return (
<ul className="flex justify-between px-[0.5rem]">
<ul className="grid grid-cols-4 px-[0.5rem]">
{books.map(book => (
<li key={book.bookId} className="flex">
<li key={book.bookId} className="flex justify-center">
<Book {...book} />
</li>
))}
Expand Down

0 comments on commit f9bcaa8

Please sign in to comment.