Skip to content

Commit

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

.rawDataTableContainer {
.rawDataTableContainer, .nonRawDataTableContainer {
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 @@ -61,6 +68,8 @@ $borderRadius: 5px;
.td {
height: 1.875rem;
}


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

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

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

0 comments on commit 2bb43c7

Please sign in to comment.