fix(mobile/shop): Adds zindex to cloned card while dragging

This commit is contained in:
sovanna 2020-01-19 15:15:51 +01:00
parent 5b95796160
commit 31105263b5
3 changed files with 6 additions and 3 deletions

View File

@ -21,8 +21,7 @@
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"minify"
"@babel/preset-react"
]
}
}

View File

@ -8,6 +8,10 @@
font-size: .75em;
}
.simu-clone {
z-index: 10;
}
/*
##Device = Tablets, Ipads (portrait)
##Screen = B/w 768px to 1024px

View File

@ -255,7 +255,7 @@ class ProductItem extends React.PureComponent {
{/* Allows to simulate a clone */}
{snapshot.isDragging && (
<img className="" src={image} />
<img className="simclone" src={image} />
)}
</React.Fragment>
)}