Skip to content

Commit

Permalink
💄 style: add space between logo and name
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrotzpc committed Jan 2, 2024
1 parent 251fd90 commit 29ddf1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/slots/Logo/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Avatar, Logo as SiteLogo } from '@lobehub/ui';
import { Space } from 'antd';
import { useResponsive } from 'antd-style';
import { Link } from 'dumi';
import isEqual from 'fast-deep-equal';
Expand All @@ -19,10 +20,10 @@ const Logo = memo(() => {
config && (
<Link className={cx(styles)} to={'base' in locale ? locale.base : '/'}>
{config.logo ? (
<>
<Space>
<Avatar avatar={config.logo} size={mobile ? 32 : 36} />
{config.name}
</>
</Space>
) : (
<SiteLogo
extra={config.name}
Expand Down

0 comments on commit 29ddf1a

Please sign in to comment.