Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: broken link

Isaiah Hamilton5e5c713b21ce
diff --git a/studio/components/layouts/AccountLayout/WithSidebar.tsx b/studio/components/layouts/AccountLayout/WithSidebar.tsx
index 817169ce1d8..9bfb3864670 100644
--- a/studio/components/layouts/AccountLayout/WithSidebar.tsx
+++ b/studio/components/layouts/AccountLayout/WithSidebar.tsx
@@ -164,18 +164,13 @@ const SidebarItem: FC<any> = ({ id, label, href, isActive, isSubitem, onClick, e
return (
<Link href={href || ''}>
<a className="block" target={external ? '_blank' : '_self'}>
- <Menu.Item
- rounded
- key={id}
- style={{
- marginLeft: isSubitem && '.5rem',
- }}
- active={isActive ? true : false}
+ <button
+ className="cursor-pointer flex space-x-2 items-center outline-none focus-visible:ring-1 ring-scale-1200 focus-visible:z-10 group py-1 font-normal border-scale-500 group-hover:border-scale-900"
onClick={onClick || (() => {})}
- icon={external && <IconArrowUpRight size={'tiny'} />}
>
- {isSubitem ? <Typography.Text small>{label}</Typography.Text> : label}
- </Menu.Item>
+ <span className="transition truncate text-sm text-scale-900 group-hover:text-scale-1100">{external && <IconArrowUpRight size={'tiny'} />}</span>
+ <span className="transition truncate text-sm w-full text-scale-1100 group-hover:text-scale-1200">{isSubitem ? <p>{label}</p> : label}</span>
+ </button>
</a>
</Link>
)