Skip to content

Commit

Permalink
fix: div in span (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX authored Nov 16, 2023
1 parent 87025cd commit 99d7d66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/tags/DishTag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ const dishLabel = computed(() => {
bg="blue-300 opacity-20"
@click="triggerGtm(dish)"
>
<span m="r-1" class="inline-flex items-center justify-center" text="sm blue-700 dark:blue-200">
<span m="r-1" text="sm blue-700 dark:blue-200">
{{ dishLabel }}
</span>
<span v-for="tool, i in tools" :key="i" inline-flex>
<div v-if="dish.tools?.includes(tool.name)" :class="tool.icon" />
</span>
<template v-for="tool, i in tools">
<span v-if="dish.tools?.includes(tool.name)" :key="i" :class="tool.icon" />
</template>
</a>
</template>

1 comment on commit 99d7d66

@vercel
Copy link

@vercel vercel bot commented on 99d7d66 Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cook – ./

cook-today.vercel.app
cook-git-dev-yunyoujun.vercel.app
cook-yunyoujun.vercel.app
cook.yunle.app

Please sign in to comment.