Skip to content

Commit

Permalink
fix: Better cleanup of some leaking menu-item styles for filter (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
svanherk authored Aug 13, 2021
1 parent 14a437d commit 74d7728
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions components/filter/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class Filter extends LocalizeCoreElement(RtlMixin(LitElement)) {
}
.d2l-filter-dimension-set-value-text {
color: var(--d2l-color-ferrite);
line-height: unset;
}
Expand All @@ -112,11 +113,9 @@ class Filter extends LocalizeCoreElement(RtlMixin(LitElement)) {
text-align: center;
}
/* Needed to "undo" the menu hover styles */
:host(:hover) .d2l-filter-dimension-info-message,
:host(:hover) .d2l-filter-dimension-set-value-text {
color: var(--d2l-color-ferrite);
cursor: default;
/* Needed to "undo" the menu-item style for multiple dimensions */
d2l-hierarchical-view {
cursor: auto;
}
d2l-loading-spinner {
Expand Down

0 comments on commit 74d7728

Please sign in to comment.