TrevorS / bootstrap3-datetimepicker-rails

This gem packages the bootstrap-datetimepicker for the Rails 3.1+ asset pipeline.
MIT License
292 stars 123 forks source link

background is transparent with Patternfly #54

Closed kirantpatil closed 7 years ago

kirantpatil commented 7 years ago

Hi,

I am getting transparent datetime widget view when I try to access using patternfly. I could not take screenshot, since it disappears.

Let me know what needs to be done to see it in proper white background as shown in attached image.

application.scss file:

@import "patternfly-sprockets"; @import "patternfly"; @import 'bootstrap-datetimepicker';

application.js file:

//= require jquery //= require bootstrap //= require patternfly //= require bootstrap-datepicker //= require moment //= require bootstrap-datetimepicker

screenshot from 2017-03-06 14 28 10

msands commented 7 years ago

Not sure if this is the problem or not, but why do you have both //= require bootstrap-datepicker and //=require bootstrap-datetimepicker?

If you're using this gem, you should only need to add //= require bootstrap-datetimepicker

it's possible that you also need to add @import "jquery-ui" to the top of application.scss

kirantpatil commented 7 years ago

I will check it. Thanks.

On Tue, Mar 14, 2017 at 9:17 PM, Marcel Sands notifications@github.com wrote:

Not sure if this is the problem or not, but why do you have both //= require bootstrap-datepicker and //=require bootstrap-datetimepicker?

If you're using this gem, you should only need to add //= require bootstrap-datetimepicker

it's possible that you also need to add @import "jquery-ui" to the top of application.scss

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TrevorS/bootstrap3-datetimepicker-rails/issues/54#issuecomment-286464149, or mute the thread https://github.com/notifications/unsubscribe-auth/ABH5x1zjflLbtilT5JR39tBV3nlhYLfOks5rlradgaJpZM4MT4G4 .

kirantpatil commented 7 years ago

Sir your suggestion worked, I had to import jquery-ui. Thanks.