You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
Thanks a lot for this component!
We use it in our React project with Twitter Bootstrap and webpack. Unfortunately we found that, .close css class styles are overridden by Twitter Bootstrap. Is it possible to replace them by something more specific (like ril-close or react-image-lightbox-close), to keep ability to customize component and not to be overridden accidentally?
The text was updated successfully, but these errors were encountered:
Sorry, this was a big oversight on my part. I've added the ril- prefixed classes as you suggested (available now in v3.0.3), but I'm afraid I have to leave the classes until the next major release, as removing them would be a breaking change. In the meantime, you may have to write some CSS that protects the lightbox style from being overridden by bootstrap.
Hello!
Thanks a lot for this component!
We use it in our React project with Twitter Bootstrap and webpack. Unfortunately we found that,
.close
css class styles are overridden by Twitter Bootstrap. Is it possible to replace them by something more specific (likeril-close
orreact-image-lightbox-close
), to keep ability to customize component and not to be overridden accidentally?The text was updated successfully, but these errors were encountered: