bug: fix table layout

This commit is contained in:
Paulo Gustavo Veiga 2021-02-25 22:22:34 -08:00
parent 61aaa670db
commit e647748717

View File

@ -113,12 +113,15 @@ function EnhancedTableHead(props: EnhancedTableProps) {
numeric: false,
label: intl.formatMessage({ id: 'map.name', defaultMessage: 'Name' }),
},
{ id: 'labels', numeric: false },
{
id: 'labels',
numeric: false
},
{
id: 'createdBy',
numeric: false,
label: intl.formatMessage({ id: 'map.creator', defaultMessage: 'Creator' }),
style: { width: '70px', whiteSpace: 'nowrap' },
style: { width: '150px', whiteSpace: 'nowrap' },
},
{
id: 'lastModificationTime',
@ -440,7 +443,7 @@ export const MapsList = (props: MapsListProps): React.ReactElement => {
<SearchIcon />
</div>
<InputBase
placeholder={intl.formatMessage({ id: 'maps.search-action', defaultMessage:'Search ...' })}
placeholder={intl.formatMessage({ id: 'maps.search-action', defaultMessage: 'Search ...' })}
classes={{
root: classes.searchInputRoot,
input: classes.searchInputInput,
@ -549,7 +552,7 @@ export const MapsList = (props: MapsListProps): React.ReactElement => {
</Tooltip>
</TableCell>
<TableCell className={classes.bodyCell}></TableCell>
<TableCell className={classes.bodyCell}>packages/webapp/src/components/maps-page/index.tsx</TableCell>
<TableCell className={classes.bodyCell}>
{row.createdBy}