Skip to content

Commit 7d317f3

Browse files
authored
Merge pull request #402 from topcoderinc/issue-245
fixes issue 245
2 parents 43cccdc + c7abbd0 commit 7d317f3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/styles.scss

+22
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,25 @@ mat-form-field {
4949
margin: 0;
5050
}
5151

52+
// temporary fix for expansion panels inside mat dialog
53+
.mat-dialog-content .mat-expansion-panel {
54+
55+
.mat-expansion-panel-header {
56+
height: 48px;
57+
}
58+
59+
.mat-expansion-panel-content {
60+
height: 0;
61+
}
62+
63+
&.mat-expanded {
64+
65+
.mat-expansion-panel-header {
66+
height: 64px;
67+
}
68+
69+
.mat-expansion-panel-content {
70+
height: auto;
71+
}
72+
}
73+
}

0 commit comments

Comments
 (0)