aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/CommandsPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/CommandsPage.js')
-rw-r--r--modern/src/settings/CommandsPage.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/modern/src/settings/CommandsPage.js b/modern/src/settings/CommandsPage.js
index dd1559d9..397263d0 100644
--- a/modern/src/settings/CommandsPage.js
+++ b/modern/src/settings/CommandsPage.js
@@ -14,8 +14,8 @@ import CollectionActions from './components/CollectionActions';
const useStyles = makeStyles((theme) => ({
columnAction: {
- width: theme.spacing(1),
- padding: theme.spacing(0, 1),
+ width: '1%',
+ paddingRight: theme.spacing(1),
},
}));
@@ -41,21 +41,21 @@ const CommandsPage = () => {
<Table>
<TableHead>
<TableRow>
- <TableCell className={classes.columnAction} />
<TableCell>{t('sharedDescription')}</TableCell>
<TableCell>{t('sharedType')}</TableCell>
<TableCell>{t('commandSendSms')}</TableCell>
+ <TableCell className={classes.columnAction} />
</TableRow>
</TableHead>
<TableBody>
{items.map((item) => (
<TableRow key={item.id}>
- <TableCell className={classes.columnAction} padding="none">
- <CollectionActions itemId={item.id} editPath="/settings/command" endpoint="commands" setTimestamp={setTimestamp} />
- </TableCell>
<TableCell>{item.description}</TableCell>
<TableCell>{t(prefixString('command', item.type))}</TableCell>
<TableCell>{formatBoolean(item.textChannel, t)}</TableCell>
+ <TableCell className={classes.columnAction} padding="none">
+ <CollectionActions itemId={item.id} editPath="/settings/command" endpoint="commands" setTimestamp={setTimestamp} />
+ </TableCell>
</TableRow>
))}
</TableBody>