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

127
Views
¿Es posible hacer que SVG sea igual a la ruta?

Hola tengo un problema. Estoy usando el paquete npm que proporciona un paquete de íconos meteorológicos. El problema es que el cuadro SVG es grande y rompe el posicionamiento que es mucho espacio en blanco en el sitio web, no se ve bien. ¿Es el margen negativo el camino?

 import {wiCloudy} from 'weather-icons-react' const WeatherDataBox = () => { return ( icon=<WiCloudy size={256} /> )} <svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 30 30" attr="[object Object]" size="256" height="256" width="256"> <path>*long code*</path> </svg>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Cambié viewbox y redujo el fondo vacío

 let ICON_SIZE = 256 let VIEWBOX = "5 5 20 20" <WiCloudy viewBox={VIEWBOX} size={ICON_SIZE} />
about 4 years ago · Juan Pablo Isaza Report
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!