From f3354580fc1acd1bf1bf0c39dbeafaaea4b1128a Mon Sep 17 00:00:00 2001 From: "C." Date: Sun, 7 Jul 2024 15:22:44 -0500 Subject: [PATCH] fix: change styling changes with notes upload box --- .../UploadNotesPage/NotesUploadBox.tsx | 2 +- .../UploadNotesPage/UploadNotesStep.tsx | 31 +++++++++---------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/components/notes/CreateWorksheetForm/UploadNotesPage/NotesUploadBox.tsx b/components/notes/CreateWorksheetForm/UploadNotesPage/NotesUploadBox.tsx index d6828d9..b959dbe 100644 --- a/components/notes/CreateWorksheetForm/UploadNotesPage/NotesUploadBox.tsx +++ b/components/notes/CreateWorksheetForm/UploadNotesPage/NotesUploadBox.tsx @@ -88,7 +88,7 @@ const NotesUploadBox: React.FC = ({ onUploadSuccess }) => { dropzoneOptions={dropZoneConfig} className="relative bg-background rounded-lg p-4 border border-border theme-custom" > - +
File upload icon

diff --git a/components/notes/CreateWorksheetForm/UploadNotesPage/UploadNotesStep.tsx b/components/notes/CreateWorksheetForm/UploadNotesPage/UploadNotesStep.tsx index 5d27117..dc9dced 100644 --- a/components/notes/CreateWorksheetForm/UploadNotesPage/UploadNotesStep.tsx +++ b/components/notes/CreateWorksheetForm/UploadNotesPage/UploadNotesStep.tsx @@ -7,7 +7,6 @@ import IconUpload from '@/components/ui/icons/IconUpload'; import IconPaste from '@/components/ui/icons/IconPaste'; import IconYoutube from '@/components/ui/icons/IconYoutube'; - interface UploadNotesStepProps { next: () => void; } @@ -29,36 +28,36 @@ const UploadNotesStep: React.FC = ({ next }) => { return (

-
-
+
+
{activeTab === 'upload' && } {activeTab === 'youtube' && } {activeTab === 'text' && }
-
+