jsor / lity

Lightweight, accessible and responsive lightbox.
https://sorgalla.com/lity/
MIT License
1.16k stars 197 forks source link

Z-index for WordPress #187

Open RavanH opened 6 years ago

RavanH commented 6 years ago

Hi Jan,

Would it be an issue if the --lity-z-index-base could be upped to 99999 so that the light box close button does not get obscured by the admin bar when the default script and stylesheet are included in a WordPress theme?

It's obviously not a big issue but would make things a bit easier, specially when using the stylesheet hosted on CDNJS for example.

BTW, there does not seem to be a WordPress plugin with this fantastic light box yet. I can create one if you're not opposed to the idea :)

kgoedecke commented 5 years ago

@RavanH I'm with you here. I can't think of a reason to up the value to 99999.