mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-13 20:06:33 +00:00
feat: replace xstack with custom div
This commit is contained in:
parent
ac033ba62a
commit
ca3ef3401e
@ -1,6 +1,6 @@
|
|||||||
import { Checkbox, Input, Text } from '@status-im/components'
|
import { Checkbox, Input, Text } from '@status-im/components'
|
||||||
import { useDispatch, useSelector } from 'react-redux'
|
import { useDispatch, useSelector } from 'react-redux'
|
||||||
import { Stack, Switch, XStack, YStack } from 'tamagui'
|
import { Stack, Switch, YStack } from 'tamagui'
|
||||||
|
|
||||||
import { RootState } from '../../../redux/store'
|
import { RootState } from '../../../redux/store'
|
||||||
import PortInput from './PortInput'
|
import PortInput from './PortInput'
|
||||||
@ -47,7 +47,7 @@ const InputsRow = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<XStack space={'$3'}>
|
<div style={{ display: 'flex', gap: '8px' }}>
|
||||||
<YStack space={'$2'} flexBasis={0} flexGrow={2}>
|
<YStack space={'$2'} flexBasis={0} flexGrow={2}>
|
||||||
<YStack>
|
<YStack>
|
||||||
<Text size={13} color={'#647084'} weight={'semibold'}>
|
<Text size={13} color={'#647084'} weight={'semibold'}>
|
||||||
@ -94,7 +94,7 @@ const InputsRow = ({
|
|||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</div>
|
</div>
|
||||||
</XStack>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user