Skip to content

Commit

Permalink
Merge branch 'main' into task/WI-224
Browse files Browse the repository at this point in the history
  • Loading branch information
jarosenb authored Nov 26, 2024
2 parents 78490c6 + 026cf5e commit e175834
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.file-listing-table td {
overflow: hidden;
}
4 changes: 3 additions & 1 deletion client/modules/datafiles/src/FileListing/FileListing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
import { NavLink } from 'react-router-dom';
import { PreviewModalBody } from '../DatafilesModal/PreviewModal';
import { TFileListing, TFileTag, useDoiContext } from '@client/hooks';
import styles from './FileListing.module.css';

export function toBytes(bytes?: number) {
if (bytes === 0) return '0 bytes';
Expand Down Expand Up @@ -53,7 +54,7 @@ export const FileListing: React.FC<
{
title: 'File Name',
dataIndex: 'name',
ellipsis: true,
ellipsis: false,
width: '50%',
render: (data, record) => (
<>
Expand Down Expand Up @@ -122,6 +123,7 @@ export const FileListing: React.FC<
return (
<>
<FileListingTable
className={styles['file-listing-table']}
api={api}
system={system}
scheme={scheme}
Expand Down

0 comments on commit e175834

Please sign in to comment.