adjusted add job mobile view

This commit was merged in pull request #720.
This commit is contained in:
victorAnumudu
2024-05-14 12:32:43 +01:00
parent 031a2f6680
commit 1f98a3eacb
10 changed files with 25 additions and 25 deletions
@@ -85,10 +85,10 @@ export default function AssignMediaTask({
>
{(props) => {
return (
<Form>
<Form className='contents'>
<>
<div
className={`job-action-modal-body w-full h-[500px] overflow-y-auto md:grid md:grid-cols-2`}
className={`job-action-modal-body w-full h-full overflow-y-auto md:grid md:grid-cols-2`}
>
<div className="p-4 pt-0">
<div className="p-4 w-full h-[450px] overflow-y-auto bg-slate-100 rounded-md dark:bg-[#11131f] dark:text-white">
@@ -124,7 +124,7 @@ export default function AssignMediaTask({
{/*Right Hand Side for details && Task Type === select */}
<>
{commonMedia?.data?.length > 0 ? (
<div className="p-4 py-0 h-full">
<div className="p-4 py-0 h-auto">
<div className="w-full">
<div className="mb-3 w-full">
<label className="job-label">
@@ -33,7 +33,7 @@ export default function AssignPrevNewTask({
) : (
<>
<div
className={`job-action-modal-body w-full h-[500px] overflow-y-auto md:grid ${
className={`job-action-modal-body w-full h-full overflow-y-auto md:grid ${
taskType !== "new" ? "md:grid-cols-2" : "md:grid-cols-1"
}`}
>
@@ -311,7 +311,7 @@ const AssignTaskPopout = ({
return (
<>
<ModalCom action={action} situation={situation}>
<div className="w-11/12 lg:w-[700px] bg-white dark:bg-dark-white lg:rounded-2xl overflow-y-auto">
<div className="modal-container">
<div className="modal-header-con">
<h1 className="modal-title">
{details ? (
@@ -364,7 +364,7 @@ const AssignTaskPopout = ({
</svg>
</button>
</div>
<div className="modal-body">
<div className="modal-body-wrapper p-[0!important]">
<div className="px-4 py-2 w-full flex items-center gap-4">
<button
name='task'
@@ -383,7 +383,7 @@ const AssignTaskPopout = ({
Media
</button>
</div>
<div className="">
<div className="contents">
{assignType == 'task' ?
<AssignPrevNewTask
jobList={jobList}