Skip to content

Commit

Permalink
[DT-997] Move the Donor Size Header in DUOS further left so it aligns…
Browse files Browse the repository at this point in the history
… with the rest of the table (#2735)
  • Loading branch information
cinyecai authored Nov 22, 2024
1 parent 5b283e2 commit f196234
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/data_search/DatasetSearchTableConstants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ interface DatasetSearchTableTabs {

const makeHeaderStyle = (width: string | number): React.CSSProperties => ({
width,
marginRight: 5
});

const makeRowStyle = (width: string | number): React.CSSProperties => ({
width,
textOverflow: 'ellipsis',
textWrap: 'nowrap',
overflow: 'hidden',
paddingRight: 5
marginRight: 5
});

const trimNewlineCharacters = (str: string): string => str?.replace( /[\r\n]+/gm, '');
Expand Down Expand Up @@ -243,7 +244,7 @@ export const makeDatasetTableHeader = (datasets: DatasetTerm[], selected: number
duosId: '10%',
accessType: '10%',
dataType: '15%',
donorSize: '7%',
donorSize: '10%',
dataLocation: '13%',
dataUse: '10%',
exportToTerra: 100,
Expand Down

0 comments on commit f196234

Please sign in to comment.