fix: change sidebar hover background to subtle when locale ready (#25876)

This commit is contained in:
Kartik Labhshetwar
2025-12-15 17:50:03 +00:00
committed by GitHub
parent 5c5d221c76
commit d64255be47
+1 -1
View File
@@ -157,7 +157,7 @@ export function SideBar({ bannersHeight, user }: SideBarProps) {
"text-left",
"[&[aria-current='page']]:bg-emphasis text-default justify-right group flex items-center rounded-md px-2 py-1.5 text-sm font-medium transition",
"[&[aria-current='page']]:text-emphasis mt-0.5 w-full text-sm",
isLocaleReady ? "hover:bg-emphasis hover:text-emphasis" : "",
isLocaleReady ? "hover:bg-subtle hover:text-emphasis" : "",
index === 0 && "mt-3"
)}
onClick={item.onClick}>