map: remove duplicate sasquatch, reposition original bubble to bottom-right below Quick Snap

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
shakespeare.diy 2026-07-23 20:05:46 +07:00
parent cc2e3d3165
commit be4e0bc986
2 changed files with 2 additions and 9 deletions

View file

@ -609,7 +609,7 @@ Instructions:
ref={dragRef}
className={cn(
'z-50 touch-none select-none',
dragPos ? '' : 'fixed bottom-20 md:bottom-6 left-3 md:left-4',
dragPos ? '' : 'fixed bottom-[9.5rem] right-4 md:bottom-6 md:right-auto md:left-4',
)}
style={bubbleStyle}
onPointerDown={onPointerDown}

View file

@ -1312,14 +1312,7 @@ export default function MapPage() {
<span className="text-xs text-white font-bold whitespace-nowrap bg-black/70 px-2 py-0.5 rounded">
Quick Snap
</span>
{/* Sasquatch trigger button */}
<button
onClick={() => window.dispatchEvent(new CustomEvent('sasquatch:open'))}
className="h-10 w-10 rounded-full overflow-hidden border-2 border-white/20 shadow-lg hover:scale-110 transition-transform"
title="Ask Sasquatch"
>
<img src="/images/sasquatch-guide.webp" alt="Sasquatch" className="w-full h-full object-cover" />
</button>
</div>
)}
</>