This commit is contained in:
f4ilji
2024-12-16 12:19:54 +05:00
parent 0e1de6e41f
commit 01b50e4fe1
@@ -1,7 +1,7 @@
<template> <template>
<div class="w-full rounded-xl mb-4 p-4 md:p-6 bg-white border border-gray-200 "> <div class="w-full rounded-xl mb-4 p-4 md:p-6 bg-white border border-gray-200 ">
<div class="flex items-center gap-x-4 text-nowrap"> <div class="flex items-center gap-y-4 gap-x-4 flex-wrap md:flex-nowrap">
<img @click="toggler = !toggler" loading="lazy" class="rounded-xl w-[150px]" :src="'/storage/' + block.data.photo" alt="Image Description"> <img v-if="block.data.photo" @click="toggler = !toggler" loading="lazy" class="rounded-xl w-[150px]" :src="'/storage/' + block.data.photo" alt="Image Description">
<div class="grow overflow-x-auto"> <div class="grow overflow-x-auto">
<p class="font-medium text-gray-800 hover:text-gray-500"> <p class="font-medium text-gray-800 hover:text-gray-500">
{{ block.data.name }} {{ block.data.name }}