Skip to content

Commit 020468d

Browse files
committed
fix(material/expansion): inconsistent spacing for anchor buttons (#24882)
Fixes that the expansion panel was applying the margin only to `mat-button` set on a `button` node. (cherry picked from commit a47869c)
1 parent 00f68c2 commit 020468d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/expansion/expansion-panel.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
justify-content: flex-end;
8989
padding: 16px 8px 16px 24px;
9090

91-
button.mat-button-base, button.mat-mdc-button-base {
91+
.mat-button-base, .mat-mdc-button-base {
9292
margin-left: 8px;
9393

9494
[dir='rtl'] & {

0 commit comments

Comments
 (0)