mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-27 10:30:31 +00:00
feat(panel-content): add breadcrumb only for mobile
This commit is contained in:
parent
674fe36324
commit
419d920f68
@ -1,6 +1,6 @@
|
||||
import { Text } from '@status-im/components'
|
||||
import { ExpandRsIcon } from '@status-im/icons'
|
||||
import { XStack, YStack } from 'tamagui'
|
||||
import { Separator, XStack, YStack } from 'tamagui'
|
||||
|
||||
import Breadcrumb from '../../../components/General/Breadcrumb/Breadcrumb'
|
||||
|
||||
@ -22,7 +22,12 @@ const PanelContent = ({
|
||||
space={'$3'}
|
||||
style={{ padding: isModalWidth ? 0 : '30px', alignItems: 'start' }}
|
||||
>
|
||||
{isModalWidth && (
|
||||
<YStack space={'$1'}>
|
||||
<Breadcrumb />
|
||||
<Separator borderColor={'#F0F2F5'} marginTop={'6px'} />
|
||||
</YStack>
|
||||
)}
|
||||
<XStack style={{ width: '100%', justifyContent: 'space-between' }}>
|
||||
<Text size={19} weight={'semibold'}>
|
||||
{title}
|
||||
|
Loading…
x
Reference in New Issue
Block a user