Skip to content
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

Fix asset paths for CDNJS #129

Open
sftsk opened this issue May 22, 2017 · 2 comments
Open

Fix asset paths for CDNJS #129

sftsk opened this issue May 22, 2017 · 2 comments
Assignees
Labels

Comments

@sftsk
Copy link
Member

sftsk commented May 22, 2017

Forwarded from Email:

May 17, 20:49

Hi

First off, your slippry slider is phenomenal

When you use the CDN https://cdnjs.com/libraries/slippry , when it tries to load assets for arrows and the loader, it doesnt find the item because they are absolutely defined, they should be relatively defined

"images/arrows.svg" ... instead of "/images/arrows.svg"

Thanks again

--
Mordy

@sftsk sftsk added the bug label May 22, 2017
@sftsk sftsk self-assigned this May 22, 2017
@rtonerii
Copy link

I did a workaround,
Just add a a custom style CSS file to your page.

.sy-box.sy-loading {
background: url("../img/sy-loader.gif") 50% 50% no-repeat;
}

.sy-controls li a:after {
background-image: url("../img/arrows.svg");
}

@Anahkiasen
Copy link

The same issue affects importing the stylesheet with Webpack as far as I can tell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants