image size

This commit is contained in:
hamid zarghami
2025-04-23 21:35:56 +03:30
parent 1ce702b1a5
commit 9d777f842a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -90,11 +90,11 @@ const DetailService: FC<{ id: string }> = ({ id }) => {
)} )}
<div className='mt-8 bg-white p-6 rounded-3xl'> <div className='mt-8 bg-white p-6 rounded-3xl'>
<div> <div className='text-sm'>
توضیحات کامل توضیحات کامل
</div> </div>
{getDetailService.data?.data?.danakService?.metaDescription && ( {getDetailService.data?.data?.danakService?.metaDescription && (
<p dangerouslySetInnerHTML={{ __html: getDetailService.data.data.danakService.metaDescription }} className='text-[13px] mt-4 leading-6'> <p dangerouslySetInnerHTML={{ __html: getDetailService.data.data.danakService.metaDescription }} className='text-[13px] text-description mt-4 leading-6'>
</p> </p>
)} )}
</div> </div>
@@ -23,7 +23,7 @@ const ServiceImages: FC<Props> = ({ images }) => {
{ {
images.map((item) => { images.map((item) => {
return ( return (
<SwiperSlide key={item.id} className='max-w-[38%]' style={SWIPER_SLIDE_STYLE}> <SwiperSlide key={item.id} className='xl:max-w-[38%] max-w-[80%]' style={SWIPER_SLIDE_STYLE}>
<div className='bg-white bg-opacity-50 w-full p-2 rounded-2xl'> <div className='bg-white bg-opacity-50 w-full p-2 rounded-2xl'>
<Image alt={item.imageUrl} width={2000} height={1000} src={item.imageUrl} className='w-full h-auto rounded-2xl' /> <Image alt={item.imageUrl} width={2000} height={1000} src={item.imageUrl} className='w-full h-auto rounded-2xl' />
</div> </div>