fix: align field placeholder tokens and docs control semantics

This commit is contained in:
maoyingjie
2026-10-28 00:03:01 +08:00
parent ffe0c6b5bd
commit 2a1a074ac3
8 changed files with 197 additions and 13 deletions
+12 -11
View File
@@ -36,6 +36,7 @@ import {
PopoverHeading,
ScrollShadow,
} from "@heroui-vue/components";
import { buttonVariants } from "@heroui-vue/styles";
import {
IconMenu2,
IconArrowUpRight,
@@ -240,17 +241,17 @@ async function copyMarkdownCode(event: MouseEvent) {
</div>
<DocSearch />
<div class="nav-tools">
<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>
<Link
class="docs-github"
:class="buttonVariants({ variant: 'tertiary', size: 'sm' })"
href="https://git.myjdemo.cn/maoyingjie/heroui-vue"
target="_blank"
rel="noreferrer noopener"
aria-label="项目源码"
>
<IconBrandGithub :size="16" aria-hidden="true" />
<span>源码</span>
</Link>
<DocsThemeSwitch />
<Drawer v-model:open="mobile">
<DrawerTrigger as-child>
+4
View File
@@ -57,6 +57,7 @@ html {
min-width: 0;
}
.docs-nav .brand {
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 10px;
@@ -252,6 +253,7 @@ html {
margin: -8px 0 32px;
}
.source-links .hv-link {
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 4px;
@@ -419,6 +421,7 @@ html {
margin-top: 8px;
}
.component-index-title {
text-decoration: none;
font-size: 16px;
font-weight: 500;
line-height: 24px;
@@ -549,6 +552,7 @@ html {
scrollbar-width: thin;
}
.search-results .hv-link {
text-decoration: none;
display: block;
padding: 12px;
border: 1px solid transparent;