fixed background color

master
alex 2024-02-10 23:35:54 +01:00
parent 4c24eed059
commit c9dde71aab
1 changed files with 16 additions and 8 deletions

View File

@ -1,6 +1,6 @@
import { useParams } from "react-router-dom";
import MyModal from "../../Components/MyModal";
import { Button, Flex, Result, Spin, notification } from "antd";
import { Button, ConfigProvider, Flex, Result, Spin, notification } from "antd";
import { useEffect, useState } from "react";
import MyAppLogo from "../../Components/MyAppLogo";
import PageNotFound, { ButtonBackHome } from "../PageNotFound";
@ -91,14 +91,22 @@ export default function Verification() {
}, []);
return (
<MyModal isOpen={true} footer={null} closable={false}>
{notificationContextHolder}
<ConfigProvider
theme={{
token: {
colorBgMask: "rgba(0, 0, 0, 0.0)",
},
}}
>
<MyModal isOpen={true} footer={null} closable={false}>
{notificationContextHolder}
<Flex justify="center">
<MyAppLogo height={100} />
</Flex>
<Flex justify="center">
<MyAppLogo height={100} />
</Flex>
{elementContent}
</MyModal>
{elementContent}
</MyModal>
</ConfigProvider>
);
}