Skip to content

Commit

Permalink
fix(popover-edit): fix failing test
Browse files Browse the repository at this point in the history
by making tested component always fit within the viewport height
  • Loading branch information
Goobles committed Apr 29, 2020
1 parent 8a1f406 commit f8452e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class ElementDataSource extends DataSource<PeriodicElement> {

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

0 comments on commit f8452e5

Please sign in to comment.