p5.js-website
p5.js-website copied to clipboard
Resolves #829: Workaround for Image alt-text hover behaviour on Safari
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