Remove extra border around when no overlay

This commit is contained in:
Jeremie Pardou-Piquemal 2020-07-03 20:12:58 +02:00 committed by Jérémie Pardou-Piquemal
parent 7496debcd1
commit 037559fd3d

View file

@ -112,7 +112,7 @@ const Image = ({
return ( return (
<Wrapper onDoubleClick={onDblClick}> <Wrapper onDoubleClick={onDblClick}>
{unflippedFor === currentUser.id && <OnlyYouLabel>Only you</OnlyYouLabel>} {unflippedFor === currentUser.id && <OnlyYouLabel>Only you</OnlyYouLabel>}
{overlay && ( {overlay && overlay.content && (
<OverlayImage <OverlayImage
src={overlay.content} src={overlay.content}
draggable={false} draggable={false}