Skip to content

Commit

Permalink
The built-in superadmin account cannot create a program
Browse files Browse the repository at this point in the history
  • Loading branch information
Jadowacu1 committed Sep 15, 2024
1 parent 2f0727f commit b893aa2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/pages/programs/Programs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const Programs = (props: any) => {
<>
<ToastContainer />
<div
className={`h-screen w-full z-20 bg-black bg-opacity-30 backdrop-blur-sm absolute flex items-center justify-center px-4 overflow-y-hidden ${
className={`h-auto w-full z-20 bg-black bg-opacity-45 backdrop-blur-sm absolute flex justify-center -mt-24 ${
addNewProgramModal === true ? "block" : "hidden"
}`}
>
Expand All @@ -198,7 +198,7 @@ const Programs = (props: any) => {
<div className="flex flex-col w-full mt-14 md_:mt-5">
<form
onSubmit={handleSubmit}
className="flex flex-col md_:flex-row justify-center space-y-7 md_:space-x-7 md_:space-y-0"
className="flex flex-col md_:flex-row space-y-7 md_:space-x-7 md_:space-y-0"
>
<div className="flex flex-col w-full md_:w-[300px] space-y-3">
<div className="flex flex-col justify-center items-start space-y-2">
Expand Down Expand Up @@ -272,7 +272,10 @@ const Programs = (props: any) => {
</span>
)}
</div>
<div className="flex flex-col items-start space-y-2">

</div>
<div className="flex flex-col md_:justify-start md_:items-center w-full md_:w-[500px] space-y-3">
<div className="flex flex-col items-start space-y-2 mr-11">
<label className="font-bold text-black-text dark:text-white text-left">
Duration
</label>
Expand All @@ -290,8 +293,6 @@ const Programs = (props: any) => {
</span>
)}
</div>
</div>
<div className="flex flex-col md_:justify-start md_:items-center w-full md_:w-[300px] space-y-3">
<div className="flex flex-col items-start space-y-2">
<label className="font-bold text-black-text dark:text-white text-left">
Entry requirements
Expand Down Expand Up @@ -336,7 +337,7 @@ const Programs = (props: any) => {
</label>
<button
type="button"
className="flex items-center justify-center bg-white text-dark-frame-bg rounded transition-colors border border-black dark:border-transparent hover:bg-dark-frame-bg hover:text-white hover:border hover:border-white font-extrabold px-2 h-4"
className="bg-green-500 text-white px-4 py-2 rounded w-full md:w-auto self-start"
onClick={() => removeEntry(item)}
>
-
Expand Down

0 comments on commit b893aa2

Please sign in to comment.