fix: div in span (#61)
This commit is contained in:
@@ -42,11 +42,11 @@ const dishLabel = computed(() => {
|
|||||||
bg="blue-300 opacity-20"
|
bg="blue-300 opacity-20"
|
||||||
@click="triggerGtm(dish)"
|
@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 }}
|
{{ dishLabel }}
|
||||||
</span>
|
</span>
|
||||||
<span v-for="tool, i in tools" :key="i" inline-flex>
|
<template v-for="tool, i in tools">
|
||||||
<div v-if="dish.tools?.includes(tool.name)" :class="tool.icon" />
|
<span v-if="dish.tools?.includes(tool.name)" :key="i" :class="tool.icon" />
|
||||||
</span>
|
</template>
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user