Skip to content

Commit

Permalink
fix(material/expansion): inconsistent spacing for anchor buttons (#24882
Browse files Browse the repository at this point in the history
)

Fixes that the expansion panel was applying the margin only to `mat-button` set on a `button` node.

(cherry picked from commit a47869c)
  • Loading branch information
crisbeto committed May 5, 2022
1 parent f036680 commit 7a122f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/expansion/expansion-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
justify-content: flex-end;
padding: 16px 8px 16px 24px;

button.mat-button-base, button.mat-mdc-button-base {
.mat-button-base, .mat-mdc-button-base {
margin-left: 8px;

[dir='rtl'] & {
Expand Down

0 comments on commit 7a122f7

Please sign in to comment.