fix: siderbar hover state (#12910)

This commit is contained in:
Udit Takkar
2023-12-21 13:43:15 +05:30
committed by GitHub
parent e56b4b57bf
commit beae1aae8b
+1 -1
View File
@@ -724,7 +724,7 @@ const NavigationItem: React.FC<{
props.index === 0 ? "mt-0" : "mt-px"
}`
: "[&[aria-current='page']]:text-emphasis mt-0.5 text-sm",
isLocaleReady ? "hover:bg-emphasis hover:text-emphasis" : ""
isLocaleReady ? "hover:bg-subtle hover:text-emphasis" : ""
)}
aria-current={current ? "page" : undefined}>
{item.icon && (