mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
Move snackbar component styling to inline. (#6990)
This commit is contained in:
committed by
Andrew Seguin
parent
606178be0a
commit
f43bf23804
@@ -3,6 +3,6 @@
|
||||
}
|
||||
|
||||
.example-header-image {
|
||||
background-image: url('../../../assets/img/examples/shiba1.jpg');
|
||||
background-image: url('http://material.angular.io/assets/img/examples/shiba1.jpg');
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<mat-card-title>Shiba Inu</mat-card-title>
|
||||
<mat-card-subtitle>Dog Breed</mat-card-subtitle>
|
||||
</mat-card-header>
|
||||
<img mat-card-image src="assets/img/examples/shiba2.jpg" alt="Photo of a Shiba Inu">
|
||||
<img mat-card-image src="http://material.angular.io/assets/img/examples/shiba2.jpg" alt="Photo of a Shiba Inu">
|
||||
<mat-card-content>
|
||||
<p>
|
||||
The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan.
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
.example-pizza-party {
|
||||
color: hotpink;
|
||||
}
|
||||
@@ -22,6 +22,6 @@ export class SnackBarComponentExample {
|
||||
@Component({
|
||||
selector: 'snack-bar-component-example-snack',
|
||||
templateUrl: 'snack-bar-component-example-snack.html',
|
||||
styleUrls: ['snack-bar-component-example-snack.css'],
|
||||
styles: [`.example-pizza-party { color: hotpink; }`],
|
||||
})
|
||||
export class PizzaPartyComponent {}
|
||||
|
||||
Reference in New Issue
Block a user