diff --git a/patterns/layered-card/Cover.tsx b/patterns/layered-card/Cover.tsx index 25423dd..bfe0a11 100644 --- a/patterns/layered-card/Cover.tsx +++ b/patterns/layered-card/Cover.tsx @@ -13,6 +13,7 @@ const Cover: React.FC<{}> = () => { justifyContent: 'center', padding: '1.5rem', position: 'relative', + zIndex: 0, }} >
= () => { position: 'absolute', transform: 'translate(-50%, 4px)', width: 0, - zIndex: 10, }} />
= () => { position: 'absolute', transform: 'translate(-50%, -4px)', width: '80px', - zIndex: 10, }} />