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

Datepicker position problem #5

Open
3 tasks done
ExeRamirez opened this issue May 3, 2020 · 3 comments
Open
3 tasks done

Datepicker position problem #5

ExeRamirez opened this issue May 3, 2020 · 3 comments

Comments

@ExeRamirez
Copy link

ExeRamirez commented May 3, 2020

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

In the template offline and in my project, the date picker is displayed lower than it should be. But not in the template online. Why?

For Example:

  • Template (offline):
    image

  • Template Online:
    image

Thanks!

@rarestoma
Copy link
Contributor

Hi @ExeRamirez,

Thank you for working with our products.

This is a problem we need to solve in our next update.

Please add in src/assets/scss/now-ui-dashboard/angular/plugins/_plugin-ngbDatepicker.scss the following changes:

  1. At .ngb-dp-header, line 631, add background: $white-color;
  2. On line 653 replace ngb-datepicker-month-view with ngb-datepicker-month
  3. At .ngb-dp-weekday, line 656, add background: $white-color;

Please let me know if it works.

Thank you,
Rares

@ExeRamirez
Copy link
Author

ExeRamirez commented May 4, 2020

Hi @rarestoma

Thanks for the indications. Now the color and background are ok, but no the position:
image

@ExeRamirez
Copy link
Author

ExeRamirez commented Jun 15, 2020

Edit: The solution is in styles.css add:

ngb-datepicker.dropdown-menu.show {
    transform: translate(0px, 0px) !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