template design bug

This commit is contained in:
hamid zarghami
2025-08-31 12:39:15 +03:30
parent fc206b3392
commit 2658f06f1c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ const List: FC = () => {
</Link>
</div>
<div className='mt-9 flex flex-wrap gap-10'>
<div className='mt-9 flex flex-col lg:flex-row flex-wrap lg:gap-10 gap-5'>
{
data?.data?.templates?.map((item: TemplateResponseType) => {
return (
@@ -51,7 +51,7 @@ const Templete: FC<{
return (
<>
<div key={item.id} className='flex-1 max-w-[25%] min-w-[20%] w-full bg-white rounded-3xl p-4'>
<div key={item.id} className='flex-1 lg:max-w-[25%] min-w-[20%] w-full bg-white rounded-3xl p-4'>
<div className='h-[140px] bg-gray-200 rounded-3xl'>
<img src={item.thumbnailUrl} alt={item.name} className='w-full h-full object-contain' />
</div>