EdouardTack / candlestick

jQuery plugin selector between three options
MIT License
11 stars 11 forks source link

Couldn't move back to middle while in options mode #2

Closed thewayiam closed 8 years ago

thewayiam commented 8 years ago

Might couse of this line, if I change it to:

    .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc {
        left: 100px;
    }

could fixed this, I would like to send a PR if this is acceptable to you.

EdouardTack commented 8 years ago

You use the 'options' mode, and you can't move to middle with click ?

thewayiam commented 8 years ago

Yes, because this three line overwrite the above default size left property at this line, so the candlestick-nc is out of this box while in default options mode. could fix it by replace origin one:

.candlestick-wrapper .candlestick-bg .candlestick-nc {
    left: 100px;
}

with:

.candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc {
    left: 100px;
}

which I think is just a typo.

EdouardTack commented 8 years ago

Thanks for contributions