Skip to content

Commit

Permalink
add: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosei805 committed Nov 14, 2024
1 parent d543153 commit 569de83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/app/components/books/BookCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const BookCards = ({ books }: BookCardsProps) => {
'1400px': 6,
'1700px': 7,
}}
// 画面幅が300pxを超えた場合、カードの間をxlにする
spacing={{ base: 10, '300px': 'xl' }}
>
{books.map((book) => (
Expand Down
1 change: 1 addition & 0 deletions frontend/app/components/cart/CartCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const CartCards = () => {
'1400px': 6,
'1700px': 7,
}}
// 画面幅が300pxを超えた場合、カードの間をxlにする
spacing={{ base: 10, '300px': 'xl' }}
>
{cart.map((book, index) => (
Expand Down
1 change: 1 addition & 0 deletions frontend/app/components/global-books/GlobalBookCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const GlobalBookCards = ({ books }: GlobalBookCardsProps) => {
'1400px': 6,
'1700px': 7,
}}
// 画面幅が300pxを超えた場合、カードの間をxlにする
spacing={{ base: 10, '300px': 'xl' }}
>
{books.map((book) => (
Expand Down

0 comments on commit 569de83

Please sign in to comment.