fix: sse headers and extract module

This commit is contained in:
archer
2023-07-30 12:26:21 +08:00
parent b472127d3b
commit 5f5d439f55
10 changed files with 112 additions and 51 deletions

View File

@@ -42,7 +42,7 @@ const MyModal = ({
{...props}
>
{!!title && <ModalHeader>{title}</ModalHeader>}
<Box overflow={'overlay'}>
<Box overflow={'overlay'} h={'100%'}>
{showCloseBtn && <ModalCloseButton />}
{children}
</Box>

View File

@@ -20,7 +20,7 @@ const MyTooltip = ({ children, forceShow = false, ...props }: Props) => {
py={2}
borderRadius={'8px'}
whiteSpace={'pre-wrap'}
shouldWrapChildren
boxShadow={'1px 1px 10px rgba(0,0,0,0.2)'}
{...props}
>
{children}