Change the UI of all components and add stars for all mandatory fields. #370

Merged
vikas.nale merged 10 commits from UI_Changes_PMS into Document_Manag 2025-09-08 06:30:58 +00:00
Showing only changes of commit 0db0edec1a - Show all commits

View File

@ -119,17 +119,22 @@ const MasterModal = ({ modaldata, closeModal }) => {
<div className={`modal-dialog mx-sm-auto mx-1 ${isLargeModal ? "modal-lg" : "modal-md"} modal-simple`}>
<div className="modal-content">
<div className="modal-body p-sm-4 p-0">
<div className="d-flex justify-content-between">
<h6>{modaldata?.modalType}</h6>
{/* ✅ Centered Heading */}
<div className="d-flex justify-content-between align-items-center">
<h5 className="modal-title w-100 text-center mb-0">
{modaldata?.modalType}
</h5>
<button
type="button"
className="btn-close"
className="btn-close position-absolute end-0 me-3"
data-bs-dismiss="modal"
aria-label="Close"
onClick={closeModal}
/>
</div>
{renderModalContent()}
{/* ✅ Render Modal Body */}
<div className="mt-3">{renderModalContent()}</div>
</div>
</div>
</div>