mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-22 09:19:28 +00:00
feat(migrate-panel): warning and keystore card 100% width
This commit is contained in:
parent
a72208a7e9
commit
421e04efd9
@ -1,6 +1,6 @@
|
||||
import { Button, InformationBox, Text } from '@status-im/components'
|
||||
import { CloseCircleIcon } from '@status-im/icons'
|
||||
import { Stack, XStack, YStack } from 'tamagui'
|
||||
import { XStack, YStack } from 'tamagui'
|
||||
import { useState } from 'react'
|
||||
|
||||
import KeystoreBackupsCard from '../../../../ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreBackupsCard'
|
||||
@ -34,6 +34,7 @@ const MigratePanel = () => {
|
||||
</Text>
|
||||
</YStack>
|
||||
<KeystoreBackupsCard />
|
||||
<div style={{ width: '100%' }}>
|
||||
{isVisibleWarning && (
|
||||
<InformationBox
|
||||
message="Please make sure to enforce the file on another node to continue validating with your Validator."
|
||||
@ -42,6 +43,7 @@ const MigratePanel = () => {
|
||||
onClosePress={() => setIsVisibleWarning(false)}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<XStack style={{ width: '100%', justifyContent: 'end' }}>
|
||||
<Button onPress={migrateValidatorHandler}>Migrate Validator</Button>
|
||||
</XStack>
|
||||
|
@ -18,6 +18,7 @@ const KeystoreBackupsCard = () => {
|
||||
borderRadius: '16px',
|
||||
padding: '9px 16px',
|
||||
cursor: 'pointer',
|
||||
width: '100%',
|
||||
}}
|
||||
onPress={downloadKeyFilesHandler}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user