Skip to content

Commit e433afb

Browse files
committed
demo(app): minor adjustments in the container example component
1 parent 6ca65a1 commit e433afb

File tree

8 files changed

+28
-23
lines changed

8 files changed

+28
-23
lines changed

demo/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@angular/pwa": "^0.10.3",
4141
"@angular/router": "^7.0.1",
4242
"@angular/service-worker": "^7.0.1",
43-
"@ng-bootstrap/ng-bootstrap": "^3.3.1",
43+
"@ng-bootstrap/ng-bootstrap": "^4.0.0",
4444
"bootstrap": "^4.1.3",
4545
"core-js": "^2.5.4",
4646
"font-awesome": "^4.7.0",

demo/src/app/home/home.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h1>@angular-material-extensions/layout</h1>
3333
</mat-card-title-group>
3434
</mat-card>
3535

36-
<mat-card matRipple routerLink="/getting-started">
36+
<mat-card matRipple routerLink="/layouts">
3737
<mat-card-title-group>
3838
<mat-card-title>Explore the prebuilt and reusable layouts</mat-card-title>
3939
<mat-card-subtitle>Portfolio</mat-card-subtitle>

demo/src/app/layouts/layouts.component.html

+4
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
<h1>Layouts</h1>
44
</div>
55
</div>
6+
7+
<div class="container">
8+
<h1>Coming soon!</h1>
9+
</div>

demo/src/app/utilities/container/container.component.html

+7-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ <h1>matContainer</h1>
44
</div>
55
</div>
66

7-
<mat-card class="container" matWidth="100%" matHeight="500px">
8-
<mat-card-content fxFill fxLayoutAlign="center center">
9-
container
7+
<mat-card matContainer class="container">
8+
<mat-card-content fxFill fxLayoutAlign="center center" matWidth="100%" matHeight="500px">
9+
container is coming soon - wait to the next release ;) <3
1010
</mat-card-content>
11+
<mat-card-footer fxLayoutAlign="center center">
12+
<markdown src="assets/md/utilities/container/e1.md"></markdown>
13+
</mat-card-footer>
1114
</mat-card>
15+
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
```html
2-
<div></div>
2+
<div matContainer></div>
3+
```
4+
or
5+
6+
```html
7+
<mat-card-content matContainer></mat-card-content>
38
```

package-lock.json

+4-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"@types/jest": "^23.3.7",
4444
"@types/lodash": "^4.14.117",
4545
"@types/node": "8.0.44",
46-
"angular-cli-ghpages": "0.5.2",
47-
"angular2-template-loader": "0.6.2",
46+
"angular-cli-ghpages": "^0.5.3",
47+
"angular2-template-loader": "^0.6.2",
4848
"ansi-colors": "^3.2.0",
4949
"autoprefixer": "^9.3.1",
5050
"awesome-typescript-loader": "^5.2.1",

0 commit comments

Comments
 (0)