Make the pickup box button hold-to-open and hold-to-close
Adds a reusable HoldButton that fires after an 800ms hold (pointer or Space/Enter) with a fill showing progress, and cancels on early release. The pickup box button now uses it, with extra space above it on mobile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -315,6 +315,7 @@
|
||||
@media (max-width: $breakpoint-tablet) {
|
||||
flex-basis: 100%;
|
||||
justify-content: center;
|
||||
margin-top: $space-2;
|
||||
margin-bottom: $space-2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user