Skip to content

Commit 87337dd

Browse files
MayaKirovaCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2f28c0a commit 87337dd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7253,8 +7253,8 @@ export abstract class IgxGridBaseDirective implements GridType,
72537253
const pagingHeight = this.getPagingFooterHeight();
72547254
const groupAreaHeight = this.getGroupAreaHeight();
72557255
const scrHeight = this.getComputedHeight(this.scr.nativeElement);
7256-
const borderTop = parseFloat(styles.getPropertyValue('border-top')) || 0;
7257-
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom')) || 0;
7256+
const borderTop = parseFloat(styles.getPropertyValue('border-top-width')) || 0;
7257+
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom-width')) || 0;
72587258

72597259
const renderedHeight = toolbarHeight + actualTheadRow +
72607260
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)