Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Fix black-on-black GIF icon for stickers #2408

Merged
merged 1 commit into from
Jan 8, 2019

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jan 7, 2019

Text colour ended up being the link colour on images because the
whole image is in an a, but stickers are not so it got the default
font colour, which might be black. Define an explicit colour.

Also set pointer-events: none so you can hover over the gif icon
too (I managed to make the message panel small which made the icon
cover most the image, so this prevented the gif from animating
at all).

Fixes element-hq/element-web#8004

Text colour ended up being the link colour on images because the
whole image is in an `a`, but stickers are not so it got the default
font colour, which might be black. Define an explicit colour.

Also set pointer-events: none so you can hover over the gif icon
too (I managed to make the message panel small which made the icon
cover most the image, so this prevented the gif from animating
at all).

Fixes element-hq/element-web#8004
@dbkr dbkr requested a review from a team January 7, 2019 13:58
@jryans jryans self-assigned this Jan 7, 2019
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good to me. 😁

@jryans jryans assigned dbkr and unassigned jryans Jan 7, 2019
@dbkr dbkr merged commit e5f7495 into experimental Jan 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants