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

SSDM-13579: Made icons slightly smaller in the list view.

parent 76a5684f
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -11,6 +11,7 @@ import Paper from '@material-ui/core/Paper'
import Grid from '@src/js/components/common/grid/Grid.jsx'
import GridFilterOptions from '@src/js/components/common/grid/GridFilterOptions.js'
import AppController from '@src/js/components/AppController.js'
import ItemIcon from '@src/js/components/database/data-browser/ItemIcon.jsx'
const styles = theme => ({
boundary: {
......@@ -19,7 +20,10 @@ const styles = theme => ({
borderStyle: 'solid',
borderColor: theme.palette.border.secondary,
backgroundColor: theme.palette.background.paper
}
},
icon: {
fontSize: '4rem',
},
})
const configuration =
......@@ -149,8 +153,8 @@ class DataBrowser extends React.Component {
name: 'name',
label: 'Name',
sortable: true,
getValue: ({ row }) => row.name,
renderValue: ({ value }) => value,
getValue: ({ row }) => row,
renderValue: ({ value }) => <><ItemIcon file={value} classes={classes} configuration={configuration} /> {value.name}</>,
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