|
"absolute hidden peer-hover:block px-2 py-1 left-full mx-2 top-1/2 -translate-y-1/2 bg-background text-foreground text-sm rounded-md shadow-lg whitespace-nowrap", |
The left-full in the className string is overriding the conditional labelDirection. To fix just remove left-full from line 109.

Next.js-Creative-Portfolio-Website/src/components/navigation/NavButton.jsx
Line 109 in f7e9ee1
The left-full in the className string is overriding the conditional labelDirection. To fix just remove left-full from line 109.