@@ -75,19 +84,21 @@ const ColorPicker = ({
isBorder={true}>
{children}
- {isOpenColorPicker && (
-
- )}
+
+ {isOpenColorPicker && (
+
+ )}
+
);
};
diff --git a/src/components/Layout/styled.tsx b/src/components/Layout/styled.tsx
index 7bd14e6..c207f46 100644
--- a/src/components/Layout/styled.tsx
+++ b/src/components/Layout/styled.tsx
@@ -29,13 +29,10 @@ export const BodyWrapper = styled.section<{
min-width: ${({ isFullWidth }) => (isFullWidth ? '100%' : '600px')};
border-radius: 7px;
box-shadow: 1px 1px 10px #cccccc;
- z-index: 9999;
+ z-index: 100;
background-color: #ffffff;
flex-direction: column;
- overflow: hidden;
-
font-family: Arial;
-
* {
box-sizing: border-box;
}
diff --git a/src/components/Portal/index.tsx b/src/components/Portal/index.tsx
deleted file mode 100644
index 1866491..0000000
--- a/src/components/Portal/index.tsx
+++ /dev/null
@@ -1,92 +0,0 @@
-import React from 'react';
-import {
- createContext,
- useCallback,
- useContext,
- useLayoutEffect,
- useMemo,
-} from 'react';
-import { createPortal } from 'react-dom';
-import { useIsMounted } from '../../hooks/useIsMounted';
-
-interface PortalProps {
- children: React.ReactNode;
- className?: string;
- containerRef?: React.RefObject