This commit is contained in:
+7
-3
@@ -115,14 +115,18 @@ body {
|
|||||||
animation: slideUp 0.25s ease;
|
animation: slideUp 0.25s ease;
|
||||||
padding-bottom: env(safe-area-inset-bottom, 0);
|
padding-bottom: env(safe-area-inset-bottom, 0);
|
||||||
}
|
}
|
||||||
|
.sheet-handle-area {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
cursor: grab;
|
||||||
|
}
|
||||||
.sheet-handle {
|
.sheet-handle {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 4px;
|
height: 4px;
|
||||||
background: #444;
|
background: #444;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
margin: 0 auto;
|
|
||||||
padding: 16px 0;
|
|
||||||
background-clip: content-box;
|
|
||||||
}
|
}
|
||||||
@keyframes slideUp {
|
@keyframes slideUp {
|
||||||
from { transform: translateY(100%); }
|
from { transform: translateY(100%); }
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ function HomePage() {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className="sheet-handle" style={{ cursor: 'grab' }} />
|
<div className="sheet-handle-area"><div className="sheet-handle" /></div>
|
||||||
<div style={{ padding: '12px 16px', display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '12px' }}>
|
<div style={{ padding: '12px 16px', display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '12px' }}>
|
||||||
{cardDetailContent(expandedCard)}
|
{cardDetailContent(expandedCard)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user