forked from M-Labs/web2019
fix(mobile/shop): Adds zindex to cloned card while dragging
This commit is contained in:
parent
5b95796160
commit
31105263b5
@ -21,8 +21,7 @@
|
|||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
"presets": [
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
"@babel/preset-react",
|
"@babel/preset-react"
|
||||||
"minify"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,10 @@
|
|||||||
font-size: .75em;
|
font-size: .75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.simu-clone {
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
##Device = Tablets, Ipads (portrait)
|
##Device = Tablets, Ipads (portrait)
|
||||||
##Screen = B/w 768px to 1024px
|
##Screen = B/w 768px to 1024px
|
||||||
|
@ -255,7 +255,7 @@ class ProductItem extends React.PureComponent {
|
|||||||
|
|
||||||
{/* Allows to simulate a clone */}
|
{/* Allows to simulate a clone */}
|
||||||
{snapshot.isDragging && (
|
{snapshot.isDragging && (
|
||||||
<img className="" src={image} />
|
<img className="simclone" src={image} />
|
||||||
)}
|
)}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user