Skip to content

Commit 28894f4

Browse files
committed
fix(popover-edit): fix failing test
by making tested component always fit within the viewport (viewport in tests is 1024 by 768)
1 parent 597d352 commit 28894f4

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">
180+
<div #table style="margin: 16px; max-width: 700px">
181181
<mat-table editable [dataSource]="dataSource">
182182
<ng-container matColumnDef="before">
183183
<mat-cell *matCellDef="let element">

0 commit comments

Comments
 (0)