Job detail min height implemented #736

Merged
ameye merged 1 commits from job-detail-min-height into master 2024-05-30 16:59:29 +00:00
3 changed files with 39 additions and 13 deletions
@@ -35,7 +35,7 @@ export default function JobDetailPopout({action, situation, jobDetail}) {
</svg>
</button>
</div>
<div className="modal-body-wrapper h-[auto!important]">
<div className="modal-body-wrapper">
<p className='w-full text-left text-sm md:text-lg lg:text-xl text-slate-900 dark:text-white'>{jobDetail}</p>
</div>
<div className="modal-footer-wrapper justify-end">
+37 -11
View File
@@ -122,17 +122,43 @@ export default function MyJobTable({ className, ActiveJobList, Account, imageSer
</div>
<div className="flex justify-center items-center py-4 px-2">
<button
type="button"
onClick={() => {
navigate("/manage-active-job", {
state: { ...task, pathname },
});
}}
className="px-4 h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white"
>
{task.owner_status == 'OWNER' ? 'Manage' : 'Send Updates'}
</button>
{accountType ?
<button
type="button"
onClick={() => {
navigate("/manage-active-job", {
state: { ...task, pathname },
});
}}
className="px-4 h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white"
>
{task.owner_status == 'OWNER' ? 'Manage' : 'Send Updates'}
</button>
:
<button
type="button"
onClick={() => {
navigate("/manage-active-job", {
state: { ...task, pathname },
});
}}
className="w-12 h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 11 20"
id="Arrow"
className="w-[0.7rem]"
>
<path
fillRule="evenodd"
d="M.366 19.708c.405.39 1.06.39 1.464 0l8.563-8.264a1.95 1.95 0 0 0 0-2.827L1.768.292A1.063 1.063 0 0 0 .314.282a.976.976 0 0 0-.011 1.425l7.894 7.617a.975.975 0 0 1 0 1.414L.366 18.295a.974.974 0 0 0 0 1.413"
// fill=""
className="color000000 svgShape fill-[#fff]"
></path>
</svg>
</button>
}
</div>
</div>
);
+1 -1
View File
@@ -178,7 +178,7 @@
/* Modal Body section */
.modal-body-wrapper {
@apply w-full h-full overflow-y-auto flex flex-col items-center px-10 p-2
@apply w-full min-h-[300px] h-full overflow-y-auto flex flex-col items-center px-10 p-2
}
/* modal footer */