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

Incorrect presentation of the calendar (no matrix format) #46

Open
SlitEye opened this issue Mar 21, 2019 · 1 comment
Open

Incorrect presentation of the calendar (no matrix format) #46

SlitEye opened this issue Mar 21, 2019 · 1 comment

Comments

@SlitEye
Copy link

SlitEye commented Mar 21, 2019

There are an issue at my Bootstrap project. The generated calender is only shown as picked day list, not as typical calendar form (as matrix). What am I doing wrong?

See my Code and the screenshot (attached to unzip): P3.zip

  • index.html:
  • controller.js:
  • calendar.html:

Screenshot with issue:
2019-03-21_00h49_59

You can see my current project here:
www.openskymap.org
At this page, please click on the menu item "Calendar" to reproduce my issue.

I use the following libraries:

  • moment-with-locales.min.js (current version),
  • datepickk.min.js (current version: v1.4.1),
  • datepickk.min.css (current version: v1.4.1),
  • jquery-3.3.1.slim.min.js,
  • popper.min.js (v1.14.7),
  • bootstrap.min.js (v4.3.1),
  • bootstrap.min.css (v4.3.1),
  • fontawesome.com/releases/v5.7.2/css/all.css,
  • /angularjs/1.7.8/angular.min.js,
  • /angularjs/1.7.8/angular-route.js.

Tested with:

  • Firefox x64 v65.0.2 on Windows 10 Pro Build 1809 x64,
  • Chrome x64 v72.0.3626.121,
  • Edge of Windows 10 Pro x64 Build 1809
@Elvenmagic
Copy link

You're not doing anything wrong.

Problem is that there's css class name d-table in generated code, which must have display: flex; property. But bootstrap has also defined utility class d-table which has display: table !important. You must override that bootstrap specification with your own css, like #Datepickk .d-table { display: flex !important }

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

2 participants