template design bug
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user