Skip to content

Commit f44da3b

Browse files
committed
Move snackbar component styling to inline.
1 parent 53c42a4 commit f44da3b

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

src/material-examples/card-fancy/card-fancy-example.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
}
44

55
.example-header-image {
6-
background-image: url('../../../assets/img/examples/shiba1.jpg');
6+
background-image: url('http://material.angular.io/assets/img/examples/shiba1.jpg');
77
background-size: cover;
88
}

src/material-examples/card-fancy/card-fancy-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<mat-card-title>Shiba Inu</mat-card-title>
55
<mat-card-subtitle>Dog Breed</mat-card-subtitle>
66
</mat-card-header>
7-
<img mat-card-image src="assets/img/examples/shiba2.jpg" alt="Photo of a Shiba Inu">
7+
<img mat-card-image src="http://material.angular.io/assets/img/examples/shiba2.jpg" alt="Photo of a Shiba Inu">
88
<mat-card-content>
99
<p>
1010
The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan.

src/material-examples/snack-bar-component/snack-bar-component-example-snack.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/material-examples/snack-bar-component/snack-bar-component-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ export class SnackBarComponentExample {
2222
@Component({
2323
selector: 'snack-bar-component-example-snack',
2424
templateUrl: 'snack-bar-component-example-snack.html',
25-
styleUrls: ['snack-bar-component-example-snack.css'],
25+
styles: [`.example-pizza-party { color: hotpink; }`],
2626
})
2727
export class PizzaPartyComponent {}

0 commit comments

Comments
 (0)