Skip to content

Commit f8452e5

Browse files
committed
fix(popover-edit): fix failing test
by making tested component always fit within the viewport height
1 parent 8a1f406 commit f8452e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-experimental/popover-edit/popover-edit.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class ElementDataSource extends DataSource<PeriodicElement> {
177177

178178
@Component({
179179
template: `
180-
<div #table style="margin: 16px; max-width: 90vw">
180+
<div #table style="margin: 16px; max-width: 90vw; max-height: 90vh;">
181181
<mat-table editable [dataSource]="dataSource">
182182
<ng-container matColumnDef="before">
183183
<mat-cell *matCellDef="let element">

0 commit comments

Comments
 (0)