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'}} /> <ToggleVisibility value={value} style={{display: 'flex', alignItems: 'center'}} />
</TableCell> </TableCell>
<TableCell>{description}</TableCell> <TableCell>{description}</TableCell>
<TableCell numeric padding="none"> <TableCell align="right" padding="none">
<IconButton onClick={fEdit} className="edit"> <IconButton onClick={fEdit} className="edit">
<Edit /> <Edit />
</IconButton> </IconButton>
</TableCell> </TableCell>
<TableCell numeric padding="none"> <TableCell align="right" padding="none">
<IconButton onClick={fDelete} className="delete" disabled={noDelete}> <IconButton onClick={fDelete} className="delete" disabled={noDelete}>
<Delete /> <Delete />
</IconButton> </IconButton>

View File

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

View File

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

View File

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