Fix black-on-black GIF icon for stickers

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 https://github.com/vector-im/riot-web/issues/8004
This commit is contained in:
David Baker 2019-01-07 13:49:01 +00:00
parent 5fb6da886c
commit 54898a6c35
4 changed files with 5 additions and 0 deletions

View file

@ -164,6 +164,7 @@ $lightbox-border-color: #ffffff;
$imagebody-giflabel: rgba(1, 1, 1, 0.7);
$imagebody-giflabel-border: rgba(1, 1, 1, 0.2);
$imagebody-giflabel-color: rgba(0, 0, 0, 1);
// unused?
$progressbar-color: #000;