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

163
Views
SVG está compensado en la barra de navegación

Estoy haciendo mi página web en ReactTS. Hice una barra de navegación y quería agregar algunos SVG de MUI Material Icons. Pero mi único problema es que el SVG es demasiado alto:

Captura de pantalla

Ya intenté configurar la posición para inherit pero tampoco tuvo ningún efecto, aquí está el CSS:

 nav { position: fixed; display: block; margin: auto; top: 0; width: 100%; height: 50px; padding-left: 10px; font-size: calc(10px + 2vmin); background-color: #3e424d; color: white; } svg { position: inherit; }

¿Alguien podría ayudarme? No soy bueno en CSS

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Gracias a @Marshall, pude solucionarlo agregando:

 display: flex; align-items: center;

(También se eliminó la position: inherit; )

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!