Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Spinner location is wrong after updating last version of spin.js #37

Open
jaimeimarin opened this issue Nov 19, 2014 · 0 comments
Open

Comments

@jaimeimarin
Copy link

In order to display the spinner at center you must set '50%' to the 'top' and 'left' properties.

return new Spinner({
        color: spinnerColor || "#fff",
        lines: lines,
        radius: radius,
        length: length,
        width: width,
        zIndex: "auto",
        top: "50%",
        left: "50%",
        className: ""
    });

By default the value is in 'auto' and the spinner is showing bad
wrongspinner

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

No branches or pull requests

1 participant