feat(panel-wrapper): style react modal

This commit is contained in:
RadoslavDimchev 2024-04-15 10:01:15 +03:00 committed by Radoslav Dimchev
parent 72dca8496d
commit 624218b104
1 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,16 @@ const PanelWrapper = ({ children, title }: PanelWrapperProps) => {
return ( return (
<ReactModal <ReactModal
isOpen={isModalOpen} isOpen={isModalOpen}
style={{
content: {
borderRadius: '12px',
width: '70%',
margin: '0 auto',
},
overlay: {
zIndex: 2,
},
}}
> >
<YStack space={'$3'} style={{ padding: '30px', alignItems: 'start' }}> <YStack space={'$3'} style={{ padding: '30px', alignItems: 'start' }}>
<Text size={19} weight={'semibold'}> <Text size={19} weight={'semibold'}>