discourse/plugins/chat/assets
David Battersby 65759c126b
FIX: add dominant color attribute to chat image uploads (#24214)
When uploading images, they are assigned a dominant color which gets used in various places, such as Discourse Hub and the new lightbox. Previously in chat we didn't assign this attribute, so it was defaulting to a null value. We did however use it as an inline CSS style for the image background (which is visible while the image is downloaded).

This change adds data-dominant-color to the uploaded image in chat and uses it correctly within lightbox.
2023-11-02 19:22:59 +08:00
..
javascripts FIX: add dominant color attribute to chat image uploads (#24214) 2023-11-02 19:22:59 +08:00
stylesheets UX: fix minor chat transcript overflow (#24158) 2023-10-30 16:31:01 -04:00