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 45251ff commit 85252b3Copy full SHA for 85252b3
src/lib/expansion/expansion-panel.scss
@@ -25,11 +25,13 @@
25
.mat-expansion-panel-spacing {
26
margin: 16px 0;
27
28
- .mat-accordion &:first-child {
+ .mat-accordion > &:first-child,
29
+ .mat-accordion > *:first-child & {
30
margin-top: 0;
31
}
32
- .mat-accordion &:last-child {
33
+ .mat-accordion > &:last-child,
34
+ .mat-accordion > *:last-child & {
35
margin-bottom: 0;
36
37
0 commit comments