fix(migrate-panel): spacing between components

This commit is contained in:
RadoslavDimchev 2024-02-20 13:18:00 +02:00 committed by Emil Ivanichkov
parent 421e04efd9
commit ad5c13d491
2 changed files with 4 additions and 2 deletions

View File

@ -44,7 +44,9 @@ const MigratePanel = () => {
/>
)}
</div>
<XStack style={{ width: '100%', justifyContent: 'end' }}>
<XStack
style={{ width: '100%', justifyContent: 'end', marginTop: '6px' }}
>
<Button onPress={migrateValidatorHandler}>Migrate Validator</Button>
</XStack>
</PanelWrapper>

View File

@ -6,7 +6,7 @@ type PanelWrapperProps = {
const PanelWrapper = ({ children }: PanelWrapperProps) => {
return (
<YStack space={'$2'} style={{ padding: '30px', alignItems: 'start' }}>
<YStack space={'$3'} style={{ padding: '30px', alignItems: 'start' }}>
{children}
</YStack>
)