mirror of
https://github.com/umami-software/umami.git
synced 2026-02-23 05:55:35 +01:00
Updated column widths.
This commit is contained in:
parent
1c22c18de5
commit
c5086be6eb
4 changed files with 12 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue