modal display box centered

This commit was merged in pull request #541.
This commit is contained in:
victorAnumudu
2024-01-08 20:56:38 +01:00
parent a59588d4a7
commit dd580cadfd
9 changed files with 13 additions and 14 deletions
+2 -2
View File
@@ -600,10 +600,10 @@ const PopModal = ({
myRef,
}) => {
return (
<ModalCom action={popUpHandler} situation={popUp} className="edit-popup">
<ModalCom action={popUpHandler} situation={popUp}>
<div
ref={myRef}
className="message-modal-wrapper min-w-[500px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl"
className="message-modal-wrapper w-11/12 min-w-[350px] max-w-[700px] bg-white dark:bg-dark-white lg:rounded-2xl overflow-y-auto"
>
<div className="message-modal-header w-full flex items-center justify-between lg:px-10 lg:py-8 px-[30px] py-[23px] border-b dark:border-[#5356fb29] border-light-purple">
<h1 className="text-26 font-bold text-dark-gray dark:text-white tracking-wide">