numeric -> align="right"

This commit is contained in:
Jannis Mattheis 2019-09-28 17:12:50 +02:00
parent 81ad026e9d
commit 2bbe0b6149
4 changed files with 5 additions and 5 deletions

View File

@ -165,12 +165,12 @@ const Row: SFC<IRowProps> = observer(
<ToggleVisibility value={value} style={{display: 'flex', alignItems: 'center'}} />
</TableCell>
<TableCell>{description}</TableCell>
<TableCell numeric padding="none">
<TableCell align="right" padding="none">
<IconButton onClick={fEdit} className="edit">
<Edit />
</IconButton>
</TableCell>
<TableCell numeric padding="none">
<TableCell align="right" padding="none">
<IconButton onClick={fDelete} className="delete" disabled={noDelete}>
<Delete />
</IconButton>

View File

@ -114,7 +114,7 @@ const Row: SFC<IRowProps> = ({name, value, fEdit, fDelete}) => (
style={{display: 'flex', alignItems: 'center', width: 200}}
/>
</TableCell>
<TableCell numeric padding="none">
<TableCell align="right" padding="none">
<IconButton onClick={fEdit} className="edit">
<Edit />
</IconButton>

View File

@ -88,7 +88,7 @@ const Row: SFC<IRowProps> = observer(({name, id, token, enabled, fToggleStatus})
<TableCell>
<ToggleVisibility value={token} style={{display: 'flex', alignItems: 'center'}} />
</TableCell>
<TableCell numeric padding="none">
<TableCell align="right" padding="none">
<Link to={'/plugins/' + id}>
<Button>
<Settings />

View File

@ -36,7 +36,7 @@ const UserRow: SFC<IRowProps> = ({name, admin, fDelete, fEdit}) => (
<TableRow>
<TableCell>{name}</TableCell>
<TableCell>{admin ? 'Yes' : 'No'}</TableCell>
<TableCell numeric padding="none">
<TableCell align="right" padding="none">
<IconButton onClick={fEdit} className="edit">
<Edit />
</IconButton>