Updated list token size to cover fit

This commit is contained in:
Mitchell McCaffrey 2020-05-22 18:00:10 +10:00
parent a77c4158ca
commit 6b176db914

View File

@ -19,7 +19,13 @@ function ListToken({ token, className }) {
src={imageSource} src={imageSource}
ref={imageRef} ref={imageRef}
className={className} className={className}
sx={{ userSelect: "none", touchAction: "none" }} sx={{
userSelect: "none",
touchAction: "none",
width: "100%",
height: "100%",
objectFit: "cover",
}}
// pass id into the dom element which is then used by the ProxyToken // pass id into the dom element which is then used by the ProxyToken
data-id={token.id} data-id={token.id}
/> />