Skip to content

Commit

Permalink
add maxHeight maxWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
aynsix committed Dec 3, 2024
1 parent 934c7a4 commit a895b92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dashboard/client/src/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Dashboard({}: Props) {
}}
>
{
config.logo ? <img src={config.logo} alt={STACK_NAME} style={{ height:48 }}/>
config.logo ? <img src={config.logo} alt={STACK_NAME} style={{ maxHeight:48, maxWidth:150 }}/>
: STACK_NAME
}

Expand Down
2 changes: 1 addition & 1 deletion databox/client/src/components/Layout/MainAppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function MainAppBar({onToggleLeftPanel}: Props) {
}}
>
{
config.logo ? <img src={config.logo} alt={t('common.databox', `Databox`)} style={{ height:32 }}/>
config.logo ? <img src={config.logo} alt={t('common.databox', `Databox`)} style={{ maxHeight:32, maxWidth:150 }}/>
: t('common.databox', `Databox`)
}

Expand Down

0 comments on commit a895b92

Please sign in to comment.