@@ -181,11 +181,11 @@ const Programs = (props: any) => {
181181 < >
182182 < ToastContainer />
183183 < div
184- className = { `w-[63.5rem] h-screen z-20 bg-black bg- opacity-30 backdrop-blur-sm absolute flex items-center justify-center overflow-y-hidden ${
184+ className = { `h-svh w-max z-20 bg-opacity-30 backdrop-blur-sm absolute flex justify-center ${
185185 addNewProgramModal === true ? "block" : "hidden"
186186 } `}
187187 >
188- < div className = "bg-white dark:bg-dark-bg w-full max-h-[900px ] overflow-auto md_:w-[65%] md-sm:w-[95%] rounded-lg p-4 pb-8" >
188+ < div className = "bg-white dark:bg-dark-bg w-full max-h-[500px ] overflow-auto md_:w-[65%] md-sm:w-[95%] rounded-lg p-4 pb-8" >
189189 < div className = "card-title w-full flex flex-wrap justify-center items-center" >
190190 < h3 className = "font-bold text-sm dark:text-white text-center w-11/12 " >
191191 < icons . AiOutlineClose
@@ -198,7 +198,7 @@ const Programs = (props: any) => {
198198 < div className = "flex flex-col w-full mt-14 md_:mt-5" >
199199 < form
200200 onSubmit = { handleSubmit }
201- className = "flex flex-col md_:flex-row justify-center space-y-7 md_:space-x-7 md_:space-y-0"
201+ className = "flex flex-col md_:flex-row space-y-7 md_:space-x-7 md_:space-y-0"
202202 >
203203 < div className = "flex flex-col w-full md_:w-[300px] space-y-3" >
204204 < div className = "flex flex-col justify-center items-start space-y-2" >
@@ -272,7 +272,10 @@ const Programs = (props: any) => {
272272 </ span >
273273 ) }
274274 </ div >
275- < div className = "flex flex-col items-start space-y-2" >
275+
276+ </ div >
277+ < div className = "flex flex-col md_:justify-start md_:items-center w-full md_:w-[500px] space-y-3" >
278+ < div className = "flex flex-col items-start space-y-2 mr-11" >
276279 < label className = "font-bold text-black-text dark:text-white text-left" >
277280 Duration
278281 </ label >
@@ -290,8 +293,6 @@ const Programs = (props: any) => {
290293 </ span >
291294 ) }
292295 </ div >
293- </ div >
294- < div className = "flex flex-col md_:justify-start md_:items-center w-full md_:w-[300px] space-y-3" >
295296 < div className = "flex flex-col items-start space-y-2" >
296297 < label className = "font-bold text-black-text dark:text-white text-left" >
297298 Entry requirements
@@ -336,7 +337,7 @@ const Programs = (props: any) => {
336337 </ label >
337338 < button
338339 type = "button"
339- 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 "
340+ className = "bg-green-500 text -white px-4 py-2 rounded w-full md:w-auto self-start "
340341 onClick = { ( ) => removeEntry ( item ) }
341342 >
342343 -
0 commit comments