Skip to content

Commit

Permalink
fix icon alignement and add git-log link
Browse files Browse the repository at this point in the history
  • Loading branch information
aynsix committed Dec 4, 2024
1 parent 051e854 commit 726dd04
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions dashboard/client/src/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,26 @@ export default function Dashboard({}: Props) {
},
}}
>
{
config.logo ? <img src={config.logo} alt={STACK_NAME} style={{ maxHeight:48, maxWidth:150 }}/>
: STACK_NAME
}

{user ? (
<Chip
icon={<SellIcon />}
label={STACK_VERSION}
color={'info'}
/>
) : (
''
)}
<div style={{ display: 'flex', alignItems: 'center' }}>
{
config.logo ? <img src={config.logo} alt={STACK_NAME} style={{ maxHeight:48, maxWidth:150 }}/>
: STACK_NAME
}

{user ? (
<Chip
icon={<SellIcon />}
label={STACK_VERSION}
color={'info'}
component="a"
href="/git-log.html"
target={'_blank'}
clickable
/>
) : (
''
)}
</div>
</Typography>
</DashboardBar>
)}
Expand Down

0 comments on commit 726dd04

Please sign in to comment.