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

use quotes when defining background image url #11

Merged

Conversation

Fensterbank
Copy link
Contributor

If an image url is used containing a space at any place in the path, the magnifier itself doesn't work and stays grey.
While a space in a path is not a problem at all, the bug occurs because the css property background-image isn't defined with quotation marks like it should be, which results in an invalid css rule.

This pull request resolves that issue by always encapsulating the image path in quotation marks.

@samuelmeuli samuelmeuli merged commit df9678b into samuelmeuli:master May 11, 2019
@samuelmeuli
Copy link
Owner

Thank you, @Fensterbank!

@Fensterbank Fensterbank deleted the bugfix/fix-background-image branch May 11, 2019 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants