pixel perfect
This commit is contained in:
@@ -42,7 +42,7 @@ const Home: FC = () => {
|
||||
getAds.data?.data?.ads?.map((item: AdsItemType) => {
|
||||
return (
|
||||
<div key={item.id} className='relative drtl'>
|
||||
<img src={item.imageUrl} className='w-full max-h-[300px] h-full object-cover rounded-3xl' />
|
||||
<img src={item.imageUrl} className='w-full min-h-[190px] max-h-[300px] h-full object-cover rounded-3xl' />
|
||||
<div className='absolute bg-black bg-opacity-20 size-full top-0 right-0 py-6 px-8 flex flex-col justify-between'>
|
||||
<button className="px-8 w-fit py-1.5 bg-white bg-opacity-10 text-white text-sm rounded-full shadow-md ">
|
||||
{t('home.new')}
|
||||
@@ -120,9 +120,9 @@ const Home: FC = () => {
|
||||
<div className='mt-8 flex flex-wrap gap-6 items-stretch'>
|
||||
{
|
||||
getQuikAccess?.data?.data?.quickAccesses?.length === 0 &&
|
||||
<div className='flex-1 min-w-[40%] xl:min-w-[20%] min-h-[152px] rounded-3xl bg-white flex flex-col gap-4 justify-center items-center'>
|
||||
<div className='flex-1 min-w-[40%] xl:!min-w-[20%] xl:p-6 p-4 min-h-[152px] rounded-3xl bg-white flex flex-col gap-4 justify-center items-center'>
|
||||
<img src={AccessbilityImage} className='w-10' />
|
||||
<div className='text-xs'>
|
||||
<div className='text-xs text-center'>
|
||||
{t('home.add_access')}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user