Fix staff members table

This commit is contained in:
dominik-zeglen 2020-09-28 12:32:32 +02:00
parent dd6695070c
commit 3d3f2fa924
2 changed files with 20 additions and 1 deletions

View file

@ -51,6 +51,9 @@ const useStyles = makeStyles(
pointerEvents: "none",
width: "100%"
},
colEmail: {
width: 400
},
statusText: {
color: "#9E9D9D"
},
@ -89,6 +92,10 @@ const StaffList: React.FC<StaffListProps> = props => {
return (
<ResponsiveTable>
<colgroup>
<col />
<col className={classes.colEmail} />
</colgroup>
<TableHead>
<TableRow>
<TableCellHeader
@ -186,7 +193,7 @@ const StaffList: React.FC<StaffListProps> = props => {
),
() => (
<TableRow>
<TableCell colSpan={3}>
<TableCell colSpan={numberOfColumns}>
<FormattedMessage defaultMessage="No staff members found" />
</TableCell>
</TableRow>

View file

@ -181011,6 +181011,12 @@ exports[`Storyshots Views / Staff / Staff members default 1`] = `
<table
class="MuiTable-root-id"
>
<colgroup>
<col />
<col
class="StaffList-colEmail-id"
/>
</colgroup>
<thead
class="MuiTableHead-root-id"
>
@ -181690,6 +181696,12 @@ exports[`Storyshots Views / Staff / Staff members when loading 1`] = `
<table
class="MuiTable-root-id"
>
<colgroup>
<col />
<col
class="StaffList-colEmail-id"
/>
</colgroup>
<thead
class="MuiTableHead-root-id"
>