Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(event-chart): Increased specificity on the overlay panel selector…
Browse files Browse the repository at this point in the history
… to avoid conflicts with the cdk's styles
  • Loading branch information
PedroMosquera authored and ffriedl89 committed Mar 12, 2020
1 parent 7c3b94e commit 5a22c09
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/barista-components/event-chart/src/event-chart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@
}

/** Event chart overlay */
::ng-deep .dt-event-chart-overlay-panel {
/** The selector is combined with the cdk-overlay-pane to
increase the specificity to avoid edge cases where the cdk styles
are loaded after the component's styles in the angular.json */
::ng-deep .cdk-overlay-pane.dt-event-chart-overlay-panel {
@include dt-overlay-container();
}

0 comments on commit 5a22c09

Please sign in to comment.