Skip to content

Commit

Permalink
FDG-10003
Browse files Browse the repository at this point in the history
  • Loading branch information
chasls2 committed Jan 16, 2025
1 parent aa0d9b6 commit e03ea71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
13 changes: 1 addition & 12 deletions src/components/data-table/data-table.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,14 @@ $borderRadius: 5px;
width: 100%;
order: 1;

.rawDataTableContainer, .nonRawDataTableContainer {
.rawDataTableContainer {
position: relative;
box-sizing: border-box;
border-top: 0;
background-color: white;
overflow-y: auto;
}

.rawDataTableContainer {
height: 521px;
}
.nonRawDataTableContainer {
max-height: 521px;
}

table {
margin-top: -3px;
}
Expand Down Expand Up @@ -68,8 +61,6 @@ $borderRadius: 5px;
.td {
height: 1.875rem;
}


}
.range {
font-weight: $semi-bold-weight;
Expand Down Expand Up @@ -102,7 +93,6 @@ $borderRadius: 5px;

.selectColumnPanelActive,
.selectColumnPanelInactive {
height: 565px;
order: 2;
width: 450px;
}
Expand All @@ -117,4 +107,3 @@ $borderRadius: 5px;
.downloadLinkIcon {
color: $primary;
}

3 changes: 1 addition & 2 deletions src/components/data-table/data-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
import DataTableFooter from './data-table-footer/data-table-footer';
import {
rawDataTableContainer,
nonRawDataTableContainer,
tableStyle,
overlayContainerNoFooter,
selectColumnPanelActive,
Expand Down Expand Up @@ -294,7 +293,7 @@ const DataTable: FunctionComponent<IDataTableProps> = ({
</div>
)}
<div className={tableStyle}>
<div data-test-id="table-content" className={nonRawDataColumns ? nonRawDataTableContainer : rawDataTableContainer}>
<div data-test-id="table-content" className={rawDataTableContainer}>
<table {...aria}>
<DataTableHeader
table={table}
Expand Down

0 comments on commit e03ea71

Please sign in to comment.