removed popout background corner color
This commit is contained in:
@@ -88,7 +88,7 @@ export default function AddGroup({ action, situation, setUpdateList }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ModalCom action={action} situation={situation}>
|
<ModalCom action={action} situation={situation}>
|
||||||
<div className="logout-modal-wrapper lg:w-[500px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl">
|
<div className="logout-modal-wrapper lg:w-[500px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl overflow-y-auto">
|
||||||
<div className="modal-header-con">
|
<div className="modal-header-con">
|
||||||
<h1 className="modal-title">
|
<h1 className="modal-title">
|
||||||
Add Group
|
Add Group
|
||||||
|
|||||||
@@ -20,14 +20,14 @@ export default function DeleteGroup({action, situation, details}) {
|
|||||||
action={action}
|
action={action}
|
||||||
situation={situation}
|
situation={situation}
|
||||||
>
|
>
|
||||||
<div className="logout-modal-wrapper lg:w-[500px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl">
|
<div className="logout-modal-wrapper lg:w-[500px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl overflow-y-auto">
|
||||||
<div className="logout-modal-header w-full flex items-center justify-between lg:px-10 lg:py-8 px-[30px] py-[23px] border-b border-light-purple dark:border-[#5356fb29] ">
|
<div className="modal-header-con">
|
||||||
<h1 className="text-26 font-bold text-dark-gray dark:text-white tracking-wide">
|
<h1 className="modal-title">
|
||||||
Delete Group
|
Delete Group
|
||||||
</h1>
|
</h1>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="text-[#374557] dark:text-red-500"
|
className="modal-close-btn"
|
||||||
onClick={action}
|
onClick={action}
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export default function DeleteMember({action, situation, details}) {
|
|||||||
action={action}
|
action={action}
|
||||||
situation={situation}
|
situation={situation}
|
||||||
>
|
>
|
||||||
<div className="logout-modal-wrapper lg:w-[500px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl">
|
<div className="logout-modal-wrapper lg:w-[500px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl overflow-y-auto">
|
||||||
<div className="modal-header-con">
|
<div className="modal-header-con">
|
||||||
<h1 className="modal-title">
|
<h1 className="modal-title">
|
||||||
Remove Member
|
Remove Member
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export default function Layout({ children }) {
|
|||||||
</div>
|
</div>
|
||||||
{logoutModal && (
|
{logoutModal && (
|
||||||
<ModalCom action={logoutModalHandler} situation={logoutModal}>
|
<ModalCom action={logoutModalHandler} situation={logoutModal}>
|
||||||
<div className="logout-modal-wrapper w-11/12 sm:w-[460px] bg-white dark:bg-dark-white lg:rounded-2xl">
|
<div className="logout-modal-wrapper w-11/12 sm:w-[460px] bg-white dark:bg-dark-white lg:rounded-2xl overflow-y-auto">
|
||||||
<div className="modal-header-con">
|
<div className="modal-header-con">
|
||||||
<h1 className="modal-title">
|
<h1 className="modal-title">
|
||||||
Confirm
|
Confirm
|
||||||
|
|||||||
@@ -6,12 +6,14 @@ export default function CustomTimer({className='text-emerald-500'}) {
|
|||||||
|
|
||||||
useEffect(()=>{
|
useEffect(()=>{
|
||||||
const timer = setInterval(()=>{
|
const timer = setInterval(()=>{
|
||||||
setTime(prev => prev - 1)
|
if(time > 0 ){
|
||||||
|
setTime(prev => prev - 1)
|
||||||
|
}
|
||||||
},1000)
|
},1000)
|
||||||
return ()=>{
|
return ()=>{
|
||||||
clearInterval(timer)
|
clearInterval(timer)
|
||||||
}
|
}
|
||||||
},[])
|
},[time])
|
||||||
|
|
||||||
let minutes = time == 0 ? 0 : Math.floor(time/60)
|
let minutes = time == 0 ? 0 : Math.floor(time/60)
|
||||||
let seconds = time == 0 ? 0 :time - (minutes * 60)
|
let seconds = time == 0 ? 0 :time - (minutes * 60)
|
||||||
|
|||||||
Reference in New Issue
Block a user