fix: Move share location button to bottom right

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2025-12-28 23:37:41 +01:00
parent e59150a9ce
commit 96fea103fd
1 changed files with 2 additions and 2 deletions

View File

@ -158,11 +158,11 @@ export default function DualMapView({
/> />
)} )}
{/* Location sharing button - floating inside map for mobile visibility */} {/* Location sharing button - floating inside map at bottom right for mobile visibility */}
{onToggleSharing && ( {onToggleSharing && (
<button <button
onClick={onToggleSharing} onClick={onToggleSharing}
className={`absolute top-4 right-4 z-30 flex items-center gap-2 px-4 py-3 rounded-full shadow-lg transition-all ${ className={`absolute bottom-20 right-4 z-30 flex items-center gap-2 px-4 py-3 rounded-full shadow-lg transition-all ${
isSharing isSharing
? 'bg-rmaps-primary text-white' ? 'bg-rmaps-primary text-white'
: 'bg-white text-gray-800 hover:bg-gray-100' : 'bg-white text-gray-800 hover:bg-gray-100'