From 1363d392f46ea50bfaa0abf826e25d51624faf80 Mon Sep 17 00:00:00 2001 From: Ayush-may Date: Sun, 12 May 2024 19:34:07 +0530 Subject: [PATCH] fixed issue #90 --- .../src/components/UploadPage/UploadPage.jsx | 39 ++++++++++--------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/client/src/components/UploadPage/UploadPage.jsx b/client/src/components/UploadPage/UploadPage.jsx index 7908de8..aafd04b 100644 --- a/client/src/components/UploadPage/UploadPage.jsx +++ b/client/src/components/UploadPage/UploadPage.jsx @@ -183,15 +183,15 @@ const UploadPage = () => { <>
-
-
+
+
{ uploadNotes(data); })} > -
+
-
+
-
+
-
+
-
+
{ value={addSubject_} onChange={(e) => setAddSubject_(e.target.value)} placeholder="Add a subject..." - className="rounded-md border border-[#e0e0e0] bg-white py-3 px-6 text-base font-small text-[#6B7280] outline-none focus:border-[#6A64F1] focus:shadow-md" + className="rounded-md w-full border border-[#e0e0e0] bg-white py-3 text-base font-small text-[#6B7280] outline-none focus:border-[#6A64F1] focus:shadow-md" >
Add Subject @@ -314,7 +317,7 @@ const UploadPage = () => {
-
+
-
+
-
+
@@ -402,13 +405,13 @@ const UploadPage = () => {
- {selectedFile && isFileSeleted ? ( + {/* {selectedFile && isFileSeleted ? ( "" ) : (

Please select a file to upload
Allowed format - .pdf

- )} + )} */} {selectedFile.name && (
@@ -470,7 +473,7 @@ const UploadPage = () => { )}
-
+