You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our Application we have panels that can be displayed on the right side using the following this selector : sk-panel.right the problems is that the .right class cascades and affects the date picker chevron that uses this selector in ngBootstrap .right .ngb-dp-navigation-chevron.
A solution should be to update the selector to this ngb-dp-arrow.right .ngb-dp-navigation-chevron to avoid this problem.
Link to minimally-working StackBlitz that reproduces the issue:
Here is a demo showing an outer class .right in the datepicker-popup.html file line 2.
Versions of Angular, ng-bootstrap and Bootstrap:
Angular: ^9.1.4
ng-bootstrap: ^6.1.0
Bootstrap: ^4.4.1
The text was updated successfully, but these errors were encountered:
absalonv
changed the title
ngb-datepicker needs a better CSS specificity, outer class is overriding the chevron
ngb-datepicker needs a better CSS specificity, outer class is overrides the datepicker chevron
Oct 16, 2020
absalonv
changed the title
ngb-datepicker needs a better CSS specificity, outer class is overrides the datepicker chevron
ngb-datepicker needs a better CSS specificity, outer class overrides the datepicker chevron
Oct 16, 2020
absalonv
changed the title
ngb-datepicker needs a better CSS specificity, outer class overrides the datepicker chevron
ngb-datepicker needs better CSS specificity, outer class overrides the datepicker chevron
Oct 16, 2020
Bug description:
In our Application we have panels that can be displayed on the right side using the following this selector :
sk-panel.right
the problems is that the.right
class cascades and affects the date picker chevron that uses this selector in ngBootstrap.right .ngb-dp-navigation-chevron
.A solution should be to update the selector to this
ngb-dp-arrow.right .ngb-dp-navigation-chevron
to avoid this problem.Link to minimally-working StackBlitz that reproduces the issue:
Here is a demo showing an outer class
.right
in thedatepicker-popup.html
file line 2.Versions of Angular, ng-bootstrap and Bootstrap:
Angular:
^9.1.4
ng-bootstrap:
^6.1.0
Bootstrap:
^4.4.1
The text was updated successfully, but these errors were encountered: