Skip to content

Commit d52c329

Browse files
authored
fix(material/expansion): inherit shape for focus indicator (#30352)
Fixes that the focus indicator had a different shape from the header. Fixes #30350.
1 parent 12b7671 commit d52c329

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/material/expansion/expansion-panel-header.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
transition: height expansion-variables.$header-transition;
1515
}
1616

17+
// Ensures that the focus indicator has the same shape as the header.
18+
&::before {
19+
border-radius: inherit;
20+
}
21+
1722
@include token-utils.use-tokens(
1823
tokens-mat-expansion.$prefix, tokens-mat-expansion.get-token-slots()) {
1924
@include token-utils.create-token-slot(height, header-collapsed-state-height);

0 commit comments

Comments
 (0)