Skip to content

Commit

Permalink
chore: update docs style
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 8, 2022
1 parent 39b5e2c commit cbe69fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/.vitepress/plugins/markdownTransform.ts
Expand Up @@ -78,7 +78,7 @@ export async function getFunctionMarkdown(pkg: string, name: string) {
## Type Declarations
<details>
<summary op50 italic>Show Type Declarations</summary>
<summary op50 italic cursor-pointer select-none>Show Type Declarations</summary>
${code}
Expand Down
6 changes: 3 additions & 3 deletions packages/.vitepress/theme/components/TeamMember.vue
Expand Up @@ -45,17 +45,17 @@ defineProps<{
:aria-label="`Sponsor ${data.name}`"
/>
</div>
<div v-if="data.functions || data.packages" bg-gray:5 mb2 p2 rounded grid="~ cols-[20px_1fr] gap-y-2" items-start w="5/6" mxa>
<div v-if="data.functions || data.packages" bg-gray:5 mb2 p3 rounded grid="~ cols-[20px_1fr] gap-x-1 gap-y-2" items-start w="5/6" mxa>
<template v-if="data.functions">
<div op50 i-carbon:function-math title="Functions" />
<div op50 ma i-carbon:function-math title="Functions" />
<div flex="~ col gap-1" text-left text-sm w-max>
<a v-for="f of data.functions" :key="f" :href="`/${f}`" target="_blank">
<code>{{ f }}</code>
</a>
</div>
</template>
<template v-if="data.packages">
<div op50 i-carbon-cube title="Packages" />
<div op50 ma i-carbon-cube title="Packages" />
<div flex="~ col gap-1" text-left text-sm w-max>
<a v-for="f of data.packages" :key="f" href="/add-ons">
<code>@vueuse/{{ f }}</code>
Expand Down

0 comments on commit cbe69fa

Please sign in to comment.