feat(panel-content): change padding for modal version

This commit is contained in:
RadoslavDimchev 2024-04-16 11:33:12 +03:00 committed by Radoslav Dimchev
parent 91942d25b6
commit 7eb147f737
1 changed files with 4 additions and 1 deletions

View File

@ -16,7 +16,10 @@ const PanelContent = ({
isModalWidth,
}: PanelContentProps) => {
return (
<YStack space={'$3'} style={{ padding: '30px', alignItems: 'start' }}>
<YStack
space={'$3'}
style={{ padding: isModalWidth ? 0 : '30px', alignItems: 'start' }}
>
<XStack style={{ width: '100%', justifyContent: 'space-between' }}>
<Text size={19} weight={'semibold'}>
{title}