Skip to content

Commit

Permalink
Update image style
Browse files Browse the repository at this point in the history
  • Loading branch information
rayc2045 committed May 23, 2024
1 parent 3adcd03 commit 38f3430
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/product-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
>
<a
:href="`#/shop/${product.category}/${lowerName}?color=${currentColor}`"
class="block bg-neutral-200/75 rounded-md overflow-hidden"
class="group block bg-neutral-200/75 rounded-md overflow-hidden"
>
<img
:src="`./src/images/products/${lowerName}_${currentColor}.jpg`"
:alt="product.name"
loading="lazy"
class="min-w-full mix-blend-multiply hover:brightness-95 transition duration-300"
class="min-w-full mix-blend-multiply group-hover:brightness-95 transition duration-300"
/>
</a>

Expand Down
4 changes: 4 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ body {
width: 0;
}

img {
pointer-events: none;
}

hr {
border-color: silver;
}
Expand Down

0 comments on commit 38f3430

Please sign in to comment.