Skip to content

Commit

Permalink
Add margin to mitigate issues with resizing window
Browse files Browse the repository at this point in the history
  • Loading branch information
cinyecai committed Nov 21, 2024
1 parent 09428f1 commit 82efe1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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

0 comments on commit 82efe1b

Please sign in to comment.