init
This commit is contained in:
@@ -39,8 +39,9 @@
|
||||
</div>
|
||||
|
||||
<div v-if="mat.color_options?.length" class="mt-3 flex flex-wrap gap-1.5">
|
||||
<span v-for="c in mat.color_options" :key="c" class="rounded-full bg-gray-100 px-2 py-0.5 text-[10px] text-gray-600">
|
||||
{{ c }}
|
||||
<span v-for="c in mat.color_options" :key="c.hex" class="inline-flex items-center gap-1 rounded-full bg-gray-100 px-2 py-0.5 text-[10px] text-gray-600">
|
||||
<span class="inline-block h-3 w-3 rounded-full border border-gray-300 flex-shrink-0" :style="{ backgroundColor: c.hex }"></span>
|
||||
{{ c.name }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user