4
0
forked from crowetic/commerce
This commit is contained in:
Belen Curcio 2020-10-23 16:03:36 -03:00
parent 1ee30a8a7d
commit 40b5f52622
2 changed files with 4 additions and 18 deletions

View File

@ -26,6 +26,7 @@
.positionIndicatorsContainer {
@apply hidden;
@screen sm {
@apply block absolute bottom-6 left-1/2 -translate-x-1/2 transform;
}
@ -33,14 +34,6 @@
.positionIndicator {
@apply rounded-full p-2;
/* :hover .dot {
@apply bg-hover-2;
}
:focus .dot {
@apply outline-none;
} */
}
.dot {
@ -66,11 +59,3 @@
.positionIndicatorActive:hover .dot {
@apply bg-white;
}
/* sx={{
width: '10px',
height: '10px',
bg: currentSlide === idx ? 'primary' : 'gray',
borderRadius: 'full',
mx: 2,
'&:focus': { outline: 'none' },
}} */

View File

@ -78,8 +78,9 @@ const ProductView: FC<Props> = ({ product, className }) => {
<ProductSlider>
{product.images.edges?.map((image, i) => (
<Image
key={image?.node.urlOriginal}
src={image?.node.urlOriginal!}
className={s.img}
key={image?.node.urlXL}
src={image?.node.urlXL!}
width={1050}
height={1050}
priority={i === 0}