🐛 Logo has no height and object-fit is not contain #1581 (#1584)

This commit is contained in:
Meier Lukas
2023-11-11 15:34:50 +01:00
committed by GitHub
parent 6753eeb822
commit 351aa47e47

View File

@@ -18,6 +18,12 @@ export function Logo({ size = 'md', withoutText = false }: LogoProps) {
<Group spacing={size === 'md' ? 'xs' : 4} noWrap>
<Image
width={size === 'md' ? 50 : 12}
height={size === 'md' ? 50 : 12}
styles={{
image: {
objectFit: 'contain !important' as 'contain',
},
}}
src={config?.settings.customization.logoImageUrl || '/imgs/logo/logo-color.svg'}
alt="Homarr Logo"
className="dashboard-header-logo-image"