Skip to content

Commit ea143a0

Browse files
crisbetokara
authored andcommitted
fix(grid-list): figure not expanding to full width (#6578)
Fixes #6586.
1 parent ff54969 commit ea143a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/grid-list/grid-list.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ $mat-grid-list-text-padding: 16px;
1515
}
1616

1717
.mat-grid-tile {
18-
@include mat-fill;
1918
display: block;
19+
position: absolute;
2020
overflow: hidden;
2121

2222
.mat-figure {
23+
@include mat-fill;
2324
display: flex;
24-
position: absolute;
2525

2626
align-items: center;
2727
justify-content: center;

0 commit comments

Comments
 (0)