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:
parent
e59150a9ce
commit
96fea103fd
|
|
@ -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 && (
|
||||
<button
|
||||
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
|
||||
? 'bg-rmaps-primary text-white'
|
||||
: 'bg-white text-gray-800 hover:bg-gray-100'
|
||||
|
|
|
|||
Loading…
Reference in New Issue