feat(panel-wrapper): style react modal
This commit is contained in:
parent
72dca8496d
commit
624218b104
|
@ -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'}>
|
||||||
|
|
Loading…
Reference in New Issue