Skip to content

Commit

Permalink
chore: removed two print lines
Browse files Browse the repository at this point in the history
  • Loading branch information
awang1245 committed Apr 2, 2024
1 parent 25b6118 commit 7caf341
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/ItemCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ interface ItemCardProps {
}

function ItemCard({ item, index, setHeaderColor, addToCart }: ItemCardProps) {
console.log("item card #" + index);
console.log(item);
const onMouseEnter = () => {
setHeaderColor(item.color);
};
Expand Down
6 changes: 6 additions & 0 deletions src/styles/ItemCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
border: 1px solid var(--black);
}

/* @media (max-width < 1200px) {
.card-back {
flex: 0 0 50%;
}
} */

.no-left {
border-left: none;
flex: 0 0 calc(100% / 3 - 1px);
Expand Down

0 comments on commit 7caf341

Please sign in to comment.