Skip to content
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

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

Closed
wants to merge 1 commit into from
Closed

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

wants to merge 1 commit into from

Conversation

sacgrover
Copy link
Contributor

buttons will maintain the consistency whether wrapped to new line or not.

Fixes #18391.

@sacgrover sacgrover requested a review from jelbourn as a code owner February 5, 2020 12:31
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 5, 2020
@@ -87,7 +87,7 @@ $mat-card-header-size: 40px !default;
.mat-button,
.mat-raised-button,
.mat-stroked-button {
margin: 0 8px;
margin: 0 8px 0 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work correctly on RTL layouts. You can test it out in the dev app by clicking the "RTL" button in the top right.

@sacgrover
Copy link
Contributor Author

Fixed

@crisbeto
Copy link
Member

The recent changes make it so the buttons are flush against each other.
Screenshot at Feb 12 17-00-48

@sacgrover
Copy link
Contributor Author

sacgrover commented Feb 12, 2020

Committed the code again. hopefully, It will fix it if not I will close this pull request ;)

buttons will maintain the consistency whether wrapped to new line or not.

Fixes #18391.
@sacgrover sacgrover closed this Feb 15, 2020
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[mat-card] Wrapped actions end up misaligned
3 participants