p5.js-website icon indicating copy to clipboard operation
p5.js-website copied to clipboard

Resolves #829: Workaround for Image alt-text hover behaviour on Safari

Open clairep94 opened this issue 7 months ago • 0 comments

Resolves #829

Background: Currently on Safari, the line-clamp on the Image alt-text is not working as expected. Tailwind issue described here

Current behaviour on Safari:

https://github.com/user-attachments/assets/c80c6f08-ce53-4dc5-a734-e7bad14f67ba

Changes:

  • Remove the tailwind classes related to line-clamp behaviour from Image alt-text
  • Update .renderable-alt in global.scss to replicate line-clamp behaviour

Demo:

https://github.com/user-attachments/assets/4abc7d6f-8ffc-4430-83ac-86f0641698e7

clairep94 avatar May 03 '25 16:05 clairep94