Fix staff members table
This commit is contained in:
parent
dd6695070c
commit
3d3f2fa924
2 changed files with 20 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue