Skip to content

Commit

Permalink
Merge pull request #30 from yuntijs/main
Browse files Browse the repository at this point in the history
💄 style: add space between logo and name
  • Loading branch information
canisminor1990 committed Jan 4, 2024
2 parents 9e4fb35 + 29ddf1a commit 7f1cd49
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 7f1cd49

Please sign in to comment.