Parcourir la source

Merge pull request #8656 from weseek/fix/143848-custom-logo-layout

fix: Custom logo style
Yuki Takei il y a 2 ans
Parent
commit
48c2fa9a3b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      apps/app/src/components/Sidebar/SidebarBrandLogo.tsx

+ 1 - 1
apps/app/src/components/Sidebar/SidebarBrandLogo.tsx

@@ -12,7 +12,7 @@ export const SidebarBrandLogo = memo((props: SidebarBrandLogoProps) => {
   return isDefaultLogo
   return isDefaultLogo
     ? <GrowiLogo />
     ? <GrowiLogo />
     // eslint-disable-next-line @next/next/no-img-element
     // eslint-disable-next-line @next/next/no-img-element
-    : (<img src="/attachment/brand-logo" alt="custom logo" className="picture picture-lg p-2 mx-2" id="settingBrandLogo" width="32" />);
+    : (<div><img src="/attachment/brand-logo" alt="custom logo" className="picture picture-lg p-2" id="settingBrandLogo" /></div>);
 });
 });
 
 
 SidebarBrandLogo.displayName = 'SidebarBrandLogo';
 SidebarBrandLogo.displayName = 'SidebarBrandLogo';