Skip to content

fix(card): Wrapped actions misaligned (#18391) #18395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions src/material/card/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ $mat-card-header-size: 40px !default;
.mat-button,
.mat-raised-button,
.mat-stroked-button {
margin: 0 8px;
margin: 0 4px;
}
}

Expand Down Expand Up @@ -200,18 +200,6 @@ $mat-card-header-size: 40px !default;
padding-bottom: 0;
}

// actions panel should always be 8px from sides,
// so the first button in the actions panel can't add its own margins
.mat-card-actions {
.mat-button,
.mat-raised-button,
.mat-stroked-button {
&:first-child {
margin-left: 0;
margin-right: 0;
}
}
}

// should be 12px space between titles and subtitles generally
// default margin-bottom is 16px, so need to move lower title up 4px
Expand Down