Fix tooltip to appear below instead of above
cgen-e8e67d0bfb6d43578d5e9ce6c209551e
This commit is contained in:
parent
16289758c4
commit
ec73bf9877
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue