Description
This is a UI/UX issue making app/(dashboard)/layout.tsx and the marketing footer respect iOS safe-area insets so the home indicator does not overlap CTAs. Includes a per-route choreography for sticky bottom bars to lift above the indicator.
Requirements and Context
- Use
env(safe-area-inset-bottom) and add viewport-fit=cover
- Audit sticky panels in
components/disputes/, components/patterns/BetConfirmPattern.tsx
- Document tokens in design-system
- Must be secure, tested, and documented
- Should be efficient and easy to review
Suggested Execution
- Fork the repo and create a branch
git checkout -b task/safe-area-insets
- Implement changes
- Edit
app/layout.tsx viewport meta
- Edit
app/globals.css to introduce --safe-pb
- Test and commit
- Manual test on iPhone 15 in PWA installed mode
- Cover edge cases (landscape orientation)
- Include test output and notes in the PR
Example commit message
task: safe-area inset support across dashboard
Acceptance Criteria
Guidelines
- WCAG 2.1 AA, mobile target area minimums
- Clear documentation and inline comments
- Timeframe: 96 hours
Description
This is a UI/UX issue making
app/(dashboard)/layout.tsxand the marketing footer respect iOS safe-area insets so the home indicator does not overlap CTAs. Includes a per-route choreography for sticky bottom bars to lift above the indicator.Requirements and Context
env(safe-area-inset-bottom)and addviewport-fit=covercomponents/disputes/,components/patterns/BetConfirmPattern.tsxSuggested Execution
app/layout.tsxviewport metaapp/globals.cssto introduce--safe-pbExample commit message
Acceptance Criteria
Guidelines