Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

278
Vistas
How to resize tooltip (icon) text for scenarios with zoom-in / zoom out?

I'm using typescript / react and my website has an icon as seen below: Icon Image

This is the code for the Icon :

<Icon iconName="Info" tabIndex={0} aria-label={description} css="padding: 0 .2rem; margin-right: .1rem; " title={description} />

When you hover over the icon you see the title of the icon in the following image: Title of the icon

However, when zooming, the text of the tooltip (title part of the code / tooltip) does not resize or increase / decrease with zoom. How can I change the title attribute of the element so that it resizes with zooming correctly.

about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

If you want the font to enlarge or diminish when the user zooms in/out, then consider using em as your css unit

about 4 years ago · Santiago Gelvez Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda