Merge pull request #307 from getmaxun/confirm-ui
fix: avoid ui shift on api key reveal
This commit is contained in:
@@ -124,7 +124,11 @@ const ApiKeyManager = () => {
|
|||||||
<TableBody>
|
<TableBody>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell>{apiKeyName}</TableCell>
|
<TableCell>{apiKeyName}</TableCell>
|
||||||
<TableCell>{showKey ? `${apiKey?.substring(0, 10)}...` : '***************'}</TableCell>
|
<TableCell>
|
||||||
|
<Box sx={{ fontFamily: 'monospace', width: '10ch' }}>
|
||||||
|
{showKey ? `${apiKey?.substring(0, 10)}...` : '**********'}
|
||||||
|
</Box>
|
||||||
|
</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
<Tooltip title={t('apikey.actions.copy')}>
|
<Tooltip title={t('apikey.actions.copy')}>
|
||||||
<IconButton onClick={copyToClipboard}>
|
<IconButton onClick={copyToClipboard}>
|
||||||
|
|||||||
Reference in New Issue
Block a user