Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

165
Views
Images under Array map()

I have been trying to get my images to have the size for sometime now but still can't figure it out. This is the code I have now.

 return (
            <div className='space-y-3 p-5 '>
                  <h2 className=' font-mainfont font-semibold pl-5'>{title}</h2>
                  <div className='flex gap-x-4 scrollbar-hide pt-10 overflow-y-hidden overflow-x-scroll transition-all duration-500 px-5'>
                        {React.Children.toArray(movies.map(movie => (
                              <div className='flex flex-col h-[500px] w-[10rem]'>
                                    <img src={`${base_url}${movie?.poster_path || movie?.backdrop_path}`} alt={movie.name || movie.title} className=" h-[3rem] w-[7rem] rounded-xl object-cover hover:scale-[1.09] transition-all duration-500" />
                                    <h1 className=''>{movie.name || movie.title}</h1>
                              </div>
                        )))}
                  </div>
            </div >

      )

Image size does not even increase again above the height and width above...

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!