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:
@@ -13,6 +13,7 @@ const Cover: React.FC<{}> = () => {
|
||||
justifyContent: 'center',
|
||||
padding: '1.5rem',
|
||||
position: 'relative',
|
||||
zIndex: 0,
|
||||
}}
|
||||
>
|
||||
<div
|
||||
|
@@ -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} />
|
||||
|
Reference in New Issue
Block a user