fix: align field placeholder tokens and docs control semantics
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user