Lightbox background

I’ve just spent twenty minutes trying to figure out why a users png wouldn’t appear when lightboxed, only to realise that the background of .mfp-figure:after is set to #444, the same color as the logo in the image (sat on transparency).

Any hope we could either throw down a pattern, or slight gradient? Appreciate this isn’t going to be a common case, but it’s also completely avoidable.

1 Like

Not sure; what are your thoughts here @awesomerobot?

Definitely uncommon, but adding a subtle gradient background is a good suggestion.

https://github.com/discourse/discourse/commit/fa2c47461770614b73f50861f6e15017fb3dd86a

9 Likes