Skip to content

Commit d173eb1

Browse files
karatinayuangao
authored andcommitted
docs(grid-list): improve basic grid-list example (#3520)
1 parent 9c14332 commit d173eb1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
/** No CSS for this example */
1+
md-grid-tile {
2+
background: lightblue;
3+
}

src/examples/grid-list-overview/grid-list-overview-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<md-grid-list cols="2">
1+
<md-grid-list cols="2" rowHeight="2:1">
22
<md-grid-tile>1</md-grid-tile>
33
<md-grid-tile>2</md-grid-tile>
44
<md-grid-tile>3</md-grid-tile>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {Component} from '@angular/core';
22

3-
43
@Component({
54
selector: 'grid-list-overview-example',
5+
styleUrls: ['./grid-list-overview-example.css'],
66
templateUrl: './grid-list-overview-example.html',
77
})
88
export class GridListOverviewExample {}

0 commit comments

Comments
 (0)