Masters Popup all heading show in Center align.
This commit is contained in:
parent
f56fd23cbf
commit
0db0edec1a
@ -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-dialog mx-sm-auto mx-1 ${isLargeModal ? "modal-lg" : "modal-md"} modal-simple`}>
|
||||||
<div className="modal-content">
|
<div className="modal-content">
|
||||||
<div className="modal-body p-sm-4 p-0">
|
<div className="modal-body p-sm-4 p-0">
|
||||||
<div className="d-flex justify-content-between">
|
{/* ✅ Centered Heading */}
|
||||||
<h6>{modaldata?.modalType}</h6>
|
<div className="d-flex justify-content-between align-items-center">
|
||||||
|
<h5 className="modal-title w-100 text-center mb-0">
|
||||||
|
{modaldata?.modalType}
|
||||||
|
</h5>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="btn-close"
|
className="btn-close position-absolute end-0 me-3"
|
||||||
data-bs-dismiss="modal"
|
data-bs-dismiss="modal"
|
||||||
aria-label="Close"
|
aria-label="Close"
|
||||||
onClick={closeModal}
|
onClick={closeModal}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{renderModalContent()}
|
|
||||||
|
{/* ✅ Render Modal Body */}
|
||||||
|
<div className="mt-3">{renderModalContent()}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user