diff --git a/src/components/Overlay/Transition.tsx b/src/components/Overlay/Transition.tsx index f7f99a35..69184d51 100644 --- a/src/components/Overlay/Transition.tsx +++ b/src/components/Overlay/Transition.tsx @@ -1,6 +1,7 @@ import * as React from 'react' export interface ITransitionProps { + extraStyle?: React.CSSProperties show: boolean } @@ -32,6 +33,7 @@ export const Transition: React.FC = props => { return mounted && (
= props => { React.useEffect(() => { document.body.classList.toggle('noscroll', props.show) - }, [props.show]) return (
= props => { height: 100%; top: 0; left: 0; - z-index: 1000000; background-color: rgb(255, 255, 255); }