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:
parent
cc2e3d3165
commit
be4e0bc986
2 changed files with 2 additions and 9 deletions
|
|
@ -609,7 +609,7 @@ Instructions:
|
||||||
ref={dragRef}
|
ref={dragRef}
|
||||||
className={cn(
|
className={cn(
|
||||||
'z-50 touch-none select-none',
|
'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}
|
style={bubbleStyle}
|
||||||
onPointerDown={onPointerDown}
|
onPointerDown={onPointerDown}
|
||||||
|
|
|
||||||
|
|
@ -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">
|
<span className="text-xs text-white font-bold whitespace-nowrap bg-black/70 px-2 py-0.5 rounded">
|
||||||
Quick Snap
|
Quick Snap
|
||||||
</span>
|
</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>
|
</div>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue