Add fixed table layout

This commit is contained in:
Krzysztof Bialoglowicz 2019-10-17 15:52:48 +02:00
parent 1ec53b49b5
commit ec01fec821

View file

@ -33,11 +33,21 @@ const useStyles = makeStyles((theme: Theme) => ({
textAlign: "right"
},
colActive: {},
colName: {}
colName: {
"&&": {
width: "auto"
}
}
},
colAction: {},
colActive: {},
colName: {},
colName: {
paddingLeft: 0,
width: 250
},
table: {
tableLayout: "fixed"
},
tableRow: {
cursor: "pointer"
}
@ -60,7 +70,7 @@ const WebhooksList: React.FC<WebhooksListProps> = ({
const classes = useStyles({});
return (
<Card>
<Table>
<Table className={classes.table}>
<TableHead>
<TableRow>
<TableCell className={classes.colName} padding="dense">