Fix sheet handle visibility
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-05-15 22:39:33 +02:00
parent 26c5c119f0
commit cddd1b7b6e
2 changed files with 8 additions and 4 deletions
+7 -3
View File
@@ -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%); }
+1 -1
View File
@@ -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>