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

277
Views
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 answers
Answer question

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 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!