1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-06 14:16:50 +02:00

Merge pull request #195 from arthur322/fix-zindex-problem

Fix some z-index problem with CoverCard and titles
This commit is contained in:
phuoc-ng
2021-10-01 21:14:32 +07:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ const Cover: React.FC<{}> = () => {
justifyContent: 'center',
padding: '1.5rem',
position: 'relative',
zIndex: 0,
}}
>
<div

View File

@@ -32,7 +32,6 @@ const Cover: React.FC<{}> = () => {
position: 'absolute',
transform: 'translate(-50%, 4px)',
width: 0,
zIndex: 10,
}}
/>
<div
@@ -45,7 +44,6 @@ const Cover: React.FC<{}> = () => {
position: 'absolute',
transform: 'translate(-50%, -4px)',
width: '80px',
zIndex: 10,
}}
/>
<Rectangle height={16} />