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

Lost styles? #59

Closed
rebyn opened this issue Jun 13, 2013 · 7 comments
Closed

Lost styles? #59

rebyn opened this issue Jun 13, 2013 · 7 comments

Comments

@rebyn
Copy link

rebyn commented Jun 13, 2013

Hi, the datepicker menu doesn't look quite right on my end. Any clue on what I may have missed here?

screen shot 2013-06-13 at 11 34 17 pm

@Nerian
Copy link
Owner

Nerian commented Jun 17, 2013

Looks good on my test app.

Check the test app and see what it's different from yours.

If they are the same, then use Chrome inspector to see what styles are being applied to the datepicker. Perhaps you have some other css that is overwriting the ones from bootstraps datepicker's.

@rebyn
Copy link
Author

rebyn commented Jun 17, 2013

Yeah, there was a conflict with jQueryUI library :).

@Nerian Nerian closed this as completed Jun 17, 2013
@aaronchi
Copy link

@rebyn Can you explain the issue? I have the same problem.

@rebyn
Copy link
Author

rebyn commented Jun 29, 2013

@aaronchi don't know why however after removing jQueryUI everything is fine for me

@Nerian
Copy link
Owner

Nerian commented Jun 29, 2013

It's because jQueryUI datepicker has the same way to initialize a field as Bootstrap Datepicker.

http://jqueryui.com/datepicker/

So I think what you actually see in action is jQueryUI's datepicker.

@caseydierking
Copy link

How can I keep the JQueryUI installed AND use this datepicker? Argh!

@Nerian
Copy link
Owner

Nerian commented Jul 20, 2013

@MisterOptimist Try requiring bootstrap-datepicker-rails after you require jquery-ui – both in application.js and application.css.

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

No branches or pull requests

4 participants