Browse Source

docs: new tag logical mergin (#42705)

pull/42718/head
未觉雨声 2 years ago
committed by GitHub
parent
commit
10fa725255
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .dumi/hooks/useMenu.tsx

2
.dumi/hooks/useMenu.tsx

@ -111,7 +111,7 @@ const useMenu = (options: UseMenuOptions = {}): [MenuProps['items'], string] =>
{(item.frontmatter as any).subtitle}
</span>
{(item.frontmatter as any).tag && (
<Tag color="warning" style={{ marginLeft: token.marginXS }}>
<Tag color="warning" style={{ marginInlineStart: token.marginXS }}>
{(item.frontmatter as any).tag}
</Tag>
)}

Loading…
Cancel
Save