This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ angular.module('material.components.card', [
26
26
* container will wrap text content and provide padding. An `<md-card-footer>` element can be
27
27
* optionally included to put content flush against the bottom edge of the card.
28
28
*
29
- * Action buttons can be included in an element with the `. md-actions` class, also used in ` md-dialog`.
29
+ * Action buttons can be included in an `< md-card- actions>` element, similar to `< md-dialog-actions> `.
30
30
* You can then position buttons using layout attributes.
31
31
*
32
32
* Cards have constant width and variable heights; where the maximum height is limited to what can
@@ -55,10 +55,10 @@ angular.module('material.components.card', [
55
55
* <h2>Card headline</h2>
56
56
* <p>Card content</p>
57
57
* </md-card-content>
58
- * <div class=" md-actions" layout="row" layout-align="end center">
58
+ * <md-card- actions layout="row" layout-align="end center">
59
59
* <md-button>Action 1</md-button>
60
60
* <md-button>Action 2</md-button>
61
- * </div >
61
+ * </md-card-actions >
62
62
* </md-card>
63
63
* </hljs>
64
64
*
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ md-card {
22
22
padding : $card-padding ;
23
23
}
24
24
25
- .md-actions {
25
+ .md-actions , md-card-actions {
26
26
margin : 0 ;
27
27
28
28
.md-button {
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ <h2 class="md-title">Paracosm</h2>
12
12
two most important words in Ernest Greene's musical language: feel it. It's a simple request, as well...
13
13
</ p >
14
14
</ md-card-content >
15
- < div class =" md-actions " layout ="row " layout-align ="end center ">
15
+ < md-card- actions layout ="row " layout-align ="end center ">
16
16
< md-button > Action 1</ md-button >
17
17
< md-button > Action 2</ md-button >
18
- </ div >
18
+ </ md-card-actions >
19
19
</ md-card >
20
20
< br />
21
21
You can’t perform that action at this time.
0 commit comments