Buttons on left and right in md-card-actions
See original GitHub issueBug, feature request, or proposal:
Proposal to create an internal element to align the butons inside a md-card-actions
.
What is the expected behavior?
Cards can have buttons both on the left and right.
https://material.io/guidelines/components/cards.html#cards-actions
What is the current behavior?
Buttons can only be aligned to the left or aligned to the right.
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
https://github.com/angular/material2/commit/82d752b59e30a8a0f492a10f488464be784aba72
Is there anything else we should know?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
how to position buttons on left and right side of a scrollable div
now i have a div with scrollable content in it, i just want to place the buttons on the left and right side...
Read more >Directives > mdCard - AngularJS Material
Action buttons can be included in an <md-card-actions> element, similar to <md-dialog-actions> . You can then position buttons using layout attributes.
Read more >Buttons Alignment Policy - UX Planet
The right-aligned buttons pay off in complicated web forms with evenly distributed input fields, checkboxes, radio buttons, and other elements.
Read more >Card - Vue Material - Creative Tim
The simplest card structure has a header, content area and action buttons, defined by md-card-header , md-card-content and md-card-actions , respectively.
Read more >Hiding Buttons and Links - Simply Schedule Appointments
Hiding buttons in the booking calendar. ... 'cancel appointment' buttons on cancellation screen */ .md-card-actions.cancellation-actions { display: none; }
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
one button in the right
first button left, second button right
It can easily be done with CSS (flex) or using fxFlex: