x-editable和bootstrap datepicker css冲突

时间:2021-11-29 21:17:15

I have problem with include boostrap datatime picker (https://eonasdan.github.io/bootstrap-datetimepicker/) and X-editable (https://vitalets.github.io/x-editable/)

我有问题包括boostrap数据时间选择器(https://eonasdan.github.io/bootstrap-datetimepicker/)和X-editable(https://vitalets.github.io/x-editable/)

If I include both CSS files:

如果我包含两个CSS文件:

bootstrap-datetimepicker.min.css 
bootstrap-editable.css

bootstrap datatimepicker don't showing calendar after click, only time. But If I remove

bootstrap datatimepicker在点击后不显示日历,只有时间。但如果我删除

bootstrap-edtiable.css 

datatimepicker works correctly.

datatimepicker正常工作。

How to reslove conflicts?

如何重新解决冲突?

1 个解决方案

#1


6  

This solve problem:

这解决了问题:

.datepicker > div {
    display: inherit;
}

#1


6  

This solve problem:

这解决了问题:

.datepicker > div {
    display: inherit;
}