fix(docs): use native header control composition and default sizing
This commit is contained in:
@@ -218,16 +218,9 @@ async function copyMarkdownCode(event: MouseEvent) {
|
||||
<Chip size="sm" variant="soft">Vue</Chip>
|
||||
</Link>
|
||||
<Popover>
|
||||
<PopoverTrigger as-child>
|
||||
<Button
|
||||
class="version"
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
aria-label="版本信息"
|
||||
>
|
||||
v0.0.1
|
||||
<IconChevronDown :size="12" aria-hidden="true" />
|
||||
</Button>
|
||||
<PopoverTrigger as="button" class="version" aria-label="版本信息">
|
||||
<span>v0.0.1</span>
|
||||
<IconChevronDown :size="14" aria-hidden="true" />
|
||||
</PopoverTrigger>
|
||||
<PopoverContent placement="bottom start">
|
||||
<PopoverDialog class="version-panel">
|
||||
@@ -248,15 +241,17 @@ async function copyMarkdownCode(event: MouseEvent) {
|
||||
</div>
|
||||
<DocSearch />
|
||||
<div class="nav-tools">
|
||||
<Link
|
||||
class="docs-github"
|
||||
href="https://git.myjdemo.cn/maoyingjie/heroui-vue"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
aria-label="项目源码"
|
||||
>
|
||||
<IconBrandGithub :size="19" aria-hidden="true" />
|
||||
</Link>
|
||||
<Button as-child variant="tertiary" size="sm" class="docs-github">
|
||||
<a
|
||||
href="https://git.myjdemo.cn/maoyingjie/heroui-vue"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
aria-label="项目源码"
|
||||
>
|
||||
<IconBrandGithub :size="16" aria-hidden="true" />
|
||||
<span>源码</span>
|
||||
</a>
|
||||
</Button>
|
||||
<DocsThemeSwitch />
|
||||
<Drawer v-model:open="mobile">
|
||||
<DrawerTrigger as-child>
|
||||
|
||||
Reference in New Issue
Block a user