Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

clairep94
Copy link

@clairep94 clairep94 commented May 3, 2025

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:

Screen.Recording.2025-05-03.at.17.23.03.mov

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:

Screen.Recording.2025-05-03.at.17.23.33.mov

@clairep94 clairep94 changed the base branch from main to 2.0 May 3, 2025 16:51
@clairep94 clairep94 changed the base branch from 2.0 to main May 3, 2025 16:52
@clairep94 clairep94 changed the title Workaround for Image alt-text hover behaviour on Safari Resolves #829: Workaround for Image alt-text hover behaviour on Safari May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Line-clamp for Image alt-text doesn't behave as expected on Safari
1 participant