Add fixed table layout
This commit is contained in:
parent
1ec53b49b5
commit
ec01fec821
1 changed files with 13 additions and 3 deletions
|
@ -33,11 +33,21 @@ const useStyles = makeStyles((theme: Theme) => ({
|
||||||
textAlign: "right"
|
textAlign: "right"
|
||||||
},
|
},
|
||||||
colActive: {},
|
colActive: {},
|
||||||
colName: {}
|
colName: {
|
||||||
|
"&&": {
|
||||||
|
width: "auto"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
colAction: {},
|
colAction: {},
|
||||||
colActive: {},
|
colActive: {},
|
||||||
colName: {},
|
colName: {
|
||||||
|
paddingLeft: 0,
|
||||||
|
width: 250
|
||||||
|
},
|
||||||
|
table: {
|
||||||
|
tableLayout: "fixed"
|
||||||
|
},
|
||||||
tableRow: {
|
tableRow: {
|
||||||
cursor: "pointer"
|
cursor: "pointer"
|
||||||
}
|
}
|
||||||
|
@ -60,7 +70,7 @@ const WebhooksList: React.FC<WebhooksListProps> = ({
|
||||||
const classes = useStyles({});
|
const classes = useStyles({});
|
||||||
return (
|
return (
|
||||||
<Card>
|
<Card>
|
||||||
<Table>
|
<Table className={classes.table}>
|
||||||
<TableHead>
|
<TableHead>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell className={classes.colName} padding="dense">
|
<TableCell className={classes.colName} padding="dense">
|
||||||
|
|
Loading…
Reference in a new issue