Skip to content

Commit

Permalink
chore(docs): update ComponentCard.vue styling
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Dec 6, 2023
1 parent 16542e5 commit f4e05a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .docs/components/content/ComponentCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ onMounted(async () => {
<div
class="w-full p-4 rounded-2xl flex-col gap-2 backdrop-blur-sm bg-[#575757]/10 border border-[#DEDEDE] dark:border-[#303030] inline-flex min-h-[138px] sm:min-h-[146px]"
>
<div class="relative w-full">
<div class="relative w-full flex items-center justify-center mt-4">
<component :is="dynamicComponent" v-if="!radix" class="py-10" />
<component :is="`${data.componentName}Radix`" v-else class="py-10" />
<component :is="`${data.componentName}Radix`" v-else class="py-10 mx-auto" />
</div>
<div>
<span class="text-xs px-2 py-1 border border-[#DEDEDE] dark:border-[#222] rounded-full text-[#676767] inline">{{ data.version }}</span>
<span v-if="data.version" class="text-xs px-2 py-1 border border-[#DEDEDE] dark:border-[#222] rounded-full text-[#676767] inline">{{ data.version }}</span>
</div>
<NuxtLink :to="data._path" class="text-[#111] group-hover:text-oku-500 dark:text-white font-medium">
{{ data.title }}
Expand Down

0 comments on commit f4e05a8

Please sign in to comment.