Skip to content

Commit 7f0e58e

Browse files
crisbetokara
authored andcommitted
fix(expansion-panel): remove margin from top and bottom panels in accordion (#6546)
1 parent 9eb9ddf commit 7f0e58e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lib/expansion/expansion-panel.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@
2323

2424
.mat-expansion-panel-spacing {
2525
margin: 16px 0;
26+
27+
.mat-accordion &:first-child {
28+
margin-top: 0;
29+
}
30+
31+
.mat-accordion &:last-child {
32+
margin-bottom: 0;
33+
}
2634
}
2735

2836
.mat-action-row {

0 commit comments

Comments
 (0)