We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec4ea06 commit 348f880Copy full SHA for 348f880
src/lib/expansion/_expansion-theme.scss
@@ -15,11 +15,13 @@
15
border-top-color: mat-color($foreground, divider);
16
}
17
18
- .mat-expansion-panel-header:not([aria-disabled='true']) {
19
- &.cdk-keyboard-focused,
20
- &.cdk-program-focused,
21
- &:hover {
22
- background: mat-color($background, hover);
+ .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header {
+ &:not([aria-disabled='true']) {
+ &.cdk-keyboard-focused,
+ &.cdk-program-focused,
+ &:hover {
23
+ background: mat-color($background, hover);
24
+ }
25
26
27
0 commit comments