From fc40be8dcb06f8f2e3fdf54286d05db660a21986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Benegas?= Date: Thu, 22 Oct 2020 20:55:31 -0300 Subject: [PATCH] fix heart on mobile --- components/product/ProductView/ProductView.module.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/product/ProductView/ProductView.module.css b/components/product/ProductView/ProductView.module.css index 82838da67..d37af51ff 100644 --- a/components/product/ProductView/ProductView.module.css +++ b/components/product/ProductView/ProductView.module.css @@ -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; @@ -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; + } }