Skip to content

Commit 0f7523c

Browse files
committed
chore(*): Apply suggestions from code review
1 parent 833d6f4 commit 0f7523c

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

projects/igniteui-angular/grids/grid/src/grid-base.directive.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7241,8 +7241,8 @@ export abstract class IgxGridBaseDirective implements GridType,
72417241
const pagingHeight = this.getPagingFooterHeight();
72427242
const groupAreaHeight = this.getGroupAreaHeight();
72437243
const scrHeight = this.getComputedHeight(this.scr.nativeElement);
7244-
const borderTop = parseFloat(styles.getPropertyValue('border-top')) || 0;
7245-
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom')) || 0;
7244+
const borderTop = parseFloat(styles.getPropertyValue('border-top-width')) || 0;
7245+
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom-width')) || 0;
72467246

72477247
const renderedHeight = toolbarHeight + actualTheadRow +
72487248
footerHeight + pagingHeight + groupAreaHeight +

src/app/grid-auto-size/grid-auto-size.sample.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
max-width: 900px;
1313
}
1414

15-
1615
igx-grid {
1716
border: 1px solid lightgray;
18-
}
17+
}

0 commit comments

Comments
 (0)