Skip to content

Commit 8eba51c

Browse files
committed
chore(*): Apply suggestions from code review
1 parent f7f2f49 commit 8eba51c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7277,8 +7277,8 @@ export abstract class IgxGridBaseDirective implements GridType,
72777277
const pagingHeight = this.getPagingFooterHeight();
72787278
const groupAreaHeight = this.getGroupAreaHeight();
72797279
const scrHeight = this.getComputedHeight(this.scr.nativeElement);
7280-
const borderTop = parseFloat(styles.getPropertyValue('border-top')) || 0;
7281-
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom')) || 0;
7280+
const borderTop = parseFloat(styles.getPropertyValue('border-top-width')) || 0;
7281+
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom-width')) || 0;
72827282

72837283
const renderedHeight = toolbarHeight + actualTheadRow +
72847284
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)