1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00
phorge-phorge/webroot/rsrc
Andre Klapper 324470e39b Give embedded image files with transparency a checkered background
Summary:
Have a consistent rendering experience between File page and file embedded in a task for PNG image files with an alpha channel:
Show a checkered background on the embedded image instead of a white background; show full contrast when hovering over the embedded image.

Closes T15473

Test Plan:
See steps in T15473 - compare an image file embedded in a task before and after applying this patch.

- test in Task description
- test in Task comment
- test in Task comment inside something weird like a table

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15473

Differential Revision: https://we.phorge.it/D25294
2023-06-19 11:57:03 +02:00
..
audio/basic Add a few more sounds 2017-04-19 13:47:23 -07:00
css Give embedded image files with transparency a checkered background 2023-06-19 11:57:03 +02:00
externals Fix regression in new confirmation Dialog 2023-03-14 20:24:50 +01:00
favicons Dynamically composite favicons from customizable sources 2018-03-12 15:28:41 -07:00
image Update Google icon on Auth Provider page 2023-06-15 12:37:45 +02:00
js Drag & Drop: fix JavaScript error related to JX.$(undefined) 2023-04-26 09:51:03 +02:00