Skip to content
Snippets Groups Projects
Commit a2cc4e37 authored by vkovtun's avatar vkovtun
Browse files

SSDM-13579: Made the content of the text cell and the icon stick together in...

SSDM-13579: Made the content of the text cell and the icon stick together in one line and not split to separate lines.
parent 39b2a446
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -52,7 +52,17 @@ const styles = theme => ({
flex: '1 1 100%',
height: 0,
overflowY: 'hidden'
}
},
nameCell: {
display: 'flex',
alignItems: 'center',
'&>span': {
flex: 1,
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis'
}
},
})
const configuration =
......@@ -177,14 +187,14 @@ class DataBrowser extends React.Component {
sortable: true,
getValue: ({ row }) => row.name,
renderValue: ({ row }) => (
<>
<div className={classes.nameCell}>
<ItemIcon
file={row}
classes={{ icon: classes.icon }}
configuration={configuration}
/>{' '}
{row.name}
</>
/>
<span>{row.name}</span>
</div>
),
renderFilter: null
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment