-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using @import to load photoswipe CSS #9
Comments
Hello ! I've exactly the same problem, did you find a solution ? Thanks a lot ! |
Same here |
I just found an easy solution :
|
@MatthieuBarthel solution works 👍 (big thanks, also to @kelso for asking it) . Although that's Sass solution. To be complete the Scss solution is:
small detail, but just to be complete ;) update provided README update #12 as this is bit painful to figure out |
equivalent
added a commit
to equivalent/photoswipe-rails
that referenced
this issue
Sep 29, 2021
related to skakri#9 . Current solution in Readme is bit confusing if you use @bootstrap or other gems...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using
application.scss
where I put @import. Like:When I ommit ".css" in "photoswipe.css" (as README says) in development mode I get error:
So I added ".css" to @import, but in production mode it doesn't work either :/ Browser JS console shows:
What I am doing wrong? Thanks for any help.
The text was updated successfully, but these errors were encountered: