feat(panel-content): add styled scroll for breadcrumb

This commit is contained in:
RadoslavDimchev 2024-05-02 12:27:36 +03:00 committed by Emil Ivanichkov
parent 8d50a4a840
commit 3846d88ca0
1 changed files with 14 additions and 10 deletions

View File

@ -23,7 +23,6 @@ const PanelContent = ({
style={{
padding: isModalWidth ? 0 : '20px 30px',
alignItems: 'start',
overflowY: 'scroll',
}}
>
{isModalWidth && (
@ -33,16 +32,21 @@ const PanelContent = ({
justifyContent: 'space-between',
alignItems: 'center',
}}
space={'$3'}
>
<YStack space={'$1'}>
<Breadcrumb />
<Separator borderColor={'#F0F2F5'} marginTop={'6px'} />
</YStack>
<ExpandRsIcon
size={20}
style={{ cursor: 'pointer' }}
onClick={closeModal}
/>
<div style={{ overflowX: 'auto' }} className="transparent-scrollbar">
<YStack space={'$1'}>
<Breadcrumb />
<Separator borderColor={'#F0F2F5'} marginTop={'6px'} />
</YStack>
</div>
<div>
<ExpandRsIcon
size={20}
style={{ cursor: 'pointer' }}
onClick={closeModal}
/>
</div>
</XStack>
)}
<Text size={19} weight={'semibold'}>