Skip to content

Commit

Permalink
fix heart on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
julianbenegas committed Oct 22, 2020
1 parent 52dba3d commit fc40be8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/product/ProductView/ProductView.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
@apply px-6 py-2 pb-4 bg-primary text-primary font-bold inline-block tracking-wide;
}

@screen md {
@screen lg {
& .name,
& .price {
@apply bg-hover-1 text-white;
Expand Down Expand Up @@ -70,5 +70,9 @@
}

.wishlistButton {
@apply absolute right-12 text-white w-10 h-10 flex items-center justify-center bg-violet font-semibold leading-6 cursor-pointer;
@apply absolute z-30 top-6 right-12 bg-primary text-base w-10 h-10 flex items-center justify-center font-semibold leading-6 cursor-pointer;

@screen lg {
@apply right-12 text-white bg-violet;
}
}

0 comments on commit fc40be8

Please sign in to comment.