-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
bug(mat-card): buttons in mat-card-actions do not consider its align attribute #20024
Closed
karmasakshi opened this issue
Jul 17, 2020
· 1 comment
· Fixed by #20040, cayacdev/cashbox#88, ToWipf/jasmarty#155 or CarlosPavajeau/Kaizen#251
Closed
bug(mat-card): buttons in mat-card-actions do not consider its align attribute #20024
karmasakshi opened this issue
Jul 17, 2020
· 1 comment
· Fixed by #20040, cayacdev/cashbox#88, ToWipf/jasmarty#155 or CarlosPavajeau/Kaizen#251
Labels
area: material/card
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jul 19, 2020
We have some styles that clear the margin from the first button, but we didn't apply the same to the last button if the card actions are aligned towards the end. Fixes angular#20024.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jan 8, 2021
We have some styles that clear the margin from the first button, but we didn't apply the same to the last button if the card actions are aligned towards the end. Fixes angular#20024.
This was referenced Mar 11, 2021
This was referenced Mar 18, 2021
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: material/card
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Reproduction
StackBlitz: https://stackblitz.com/edit/components-issue-ampt5f?file=src%2Fapp%2Fexample-component.css
Steps to reproduce:
mat-card-actions
Actual behavior
Expected behavior
Proposed fix
Based on
align=start
oralign=end
, the first or the last button should be applied the style which is right now applied to the first button regardless:This can be solved by the following snippet:
Similar/related issues I found:
#18391
#13382
Environment
The text was updated successfully, but these errors were encountered: