Skip to content

Commit dd8d3f3

Browse files
authored
Merge pull request #544 from gselderslaghs/collapsible-styling
fix(Collapsible) styling
2 parents 8e59a9d + 6685ae4 commit dd8d3f3

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

sass/components/_collapsible.scss

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,26 @@
3131
}
3232

3333
.collapsible-header::after {
34-
content: '';
35-
text-align: right;
36-
margin-right: 0.25rem;
37-
width: 100%;
34+
content: '\e5cf';
35+
margin-left: .5rem;
36+
font-family: 'Material Symbols Outlined', 'Material Symbols Rounded', 'Material Symbols Sharp', 'Material Icons';
37+
font-size: 25px;
38+
line-height: .9;
39+
-webkit-font-smoothing: antialiased;
3840
}
41+
3942
.active .collapsible-header::after {
40-
content: "";
43+
content: '\e5ce';
4144
}
4245

43-
4446
.keyboard-focused .collapsible-header:focus {
4547
background-color: rgba(0, 0, 0, 0.12);
4648
}
4749

50+
.collapsible-header-content {
51+
flex-grow: 1;
52+
}
53+
4854
.collapsible-body {
4955
max-height: 0;
5056
border-bottom: 1px solid var(--md-sys-color-outline-variant);

0 commit comments

Comments
 (0)