Skip to content

Commit

Permalink
Fixed overflow in grid due to update in ag-grid package
Browse files Browse the repository at this point in the history
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
  • Loading branch information
OmkarPh committed Nov 6, 2023
1 parent 0a1f75b commit e48b9be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/pages/DependencyInfoDash/dependencyInfoDash.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
height: auto;
}

.scope-summary-table .ag-body-viewport {
.scope-summary-table .ag-body-viewport,
.scope-summary-table .ag-body {
height: auto;
/* Subtract height of horizontal scroll and header from table height */
max-height: calc(var(--max-scope-summary-table-height) - var(--scope-summary-table-header-height) - var(--scope-summary-table-height));
Expand Down
3 changes: 2 additions & 1 deletion src/styles/entityCommonStyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
height: auto;
}

.entity-table .ag-body-viewport {
.entity-table .ag-body-viewport,
.entity-table .ag-body {
height: auto;
/* Subtract height of horizontal scroll and header from table height */
max-height: calc(var(--max-entity-table-height) - var(--entity-table-header-height) - var(--entity-table-height));
Expand Down

0 comments on commit e48b9be

Please sign in to comment.