Updated column widths.

This commit is contained in:
Mike Cao 2025-05-14 15:29:03 -07:00
parent 1c22c18de5
commit c5086be6eb
4 changed files with 12 additions and 13 deletions

View file

@ -88,15 +88,13 @@ export function WebsiteTabs({ websiteId }: { websiteId: string }) {
},
];
const selected = links
? links.find(({ path }) => path && pathname.endsWith(path))?.id
: 'overview';
const selected = links.find(({ path }) => path && pathname.endsWith(path))?.id || 'overview';
return (
<Column gap="2" position="absolute" padding="4" style={{ top: 0, left: 0, bottom: 0 }}>
{links.map(({ id, label, icon, path }) => {
return (
<Link key={id} href={renderTeamUrl(`/websites/${websiteId}/${path}`)}>
<Link key={id} href={renderTeamUrl(`/websites/${websiteId}${path}`)}>
<Row
alignItems="center"
padding