Fix tooltip to appear below instead of above

cgen-e8e67d0bfb6d43578d5e9ce6c209551e
This commit is contained in:
Builder.io 2025-11-06 18:32:12 +00:00
parent 16289758c4
commit ec73bf9877

View file

@ -122,7 +122,7 @@ export default function ArmSwitcher() {
</div>
{/* Tooltip on hover */}
<div className="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-2 py-1 bg-gray-900 rounded text-xs text-white opacity-0 group-hover:opacity-100 transition-opacity duration-300 whitespace-nowrap pointer-events-none">
<div className="absolute top-full left-1/2 -translate-x-1/2 mt-2 px-2 py-1 bg-gray-900 rounded text-xs text-white opacity-0 group-hover:opacity-100 transition-opacity duration-300 whitespace-nowrap pointer-events-none">
Click to navigate
</div>
</div>