update: style of card

This commit is contained in:
purp1e
2024-10-06 19:36:47 +08:00
parent 42b3210584
commit c0c34180ae
3 changed files with 127 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ const SideButton = ({
{children}
<div
className={clsx(
path === route && "opacity-100",
path.startsWith(route) && "opacity-100",
"transition-opacity duration-300 opacity-0 h-3.5 w-0.5 absolute left-0.5 bg-purple-500 rounded-full top-1/2 -translate-y-1/2"
)}
/>