fix(map): clear desktop drawer & list panel from bottom OS taskbar#1060
Conversation
The desktop merchant drawer and list panel anchored their bottom edge only ~12-16px above the viewport bottom, so on a Windows tablet in PC Mode the OS taskbar covered the bottom of the drawer and the "See full profile" link was never reachable. Reserve max(3rem, env(safe-area-inset-bottom)) of bottom clearance on both: env() handles notched phones, and the 3rem floor clears the taskbar on Windows, which reports a 0 safe-area inset. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR updates two merchant UI components in the map interface to use CSS environment variables for safe-area-aware bottom clearance. The drawer's max-height and the list panel's bottom offset now adapt dynamically to device safe-area insets instead of using fixed spacing values. ChangesSafe-area-aware merchant UI positioning
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Deploy Preview for btcmap ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |

The desktop merchant drawer and list panel anchored their bottom edge only ~12-16px above the viewport bottom, so on a Windows tablet in PC Mode the OS taskbar covered the bottom of the drawer and the "See full profile" link was never reachable.
Reserve max(3rem, env(safe-area-inset-bottom)) of bottom clearance on both: env() handles notched phones, and the 3rem floor clears the taskbar on Windows, which reports a 0 safe-area inset.
Summary by CodeRabbit