forked from crowetic/commerce
changes
This commit is contained in:
parent
1ee30a8a7d
commit
40b5f52622
@ -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' },
|
||||
}} */
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user