Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent upload form #1085

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/src/components/Submission/DataUploadForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,10 @@ const UploadComponent = ({
>
<div className='text-center'>
<Icon className='mx-auto h-12 w-12 text-gray-300' aria-hidden='true' />
<div className='mt-4 flex text-sm leading-6 text-gray-600'>
<div className='mt-4 text-sm leading-6 text-gray-600'>
<label
htmlFor='file-upload'
className='relative cursor-pointer rounded-md bg-white font-semibold text-teal-600 focus-within:outline-none focus-within:ring-2 focus-within:ring-iteal-600 focus-within:ring-offset-2 hover:text-iteal-500'
className='inline relative cursor-pointer rounded-md bg-white font-semibold text-teal-600 focus-within:outline-none focus-within:ring-2 focus-within:ring-iteal-600 focus-within:ring-offset-2 hover:text-iteal-500'
>
<span onClick={handleUpload}>Upload a file</span>
<input
Expand All @@ -321,7 +321,7 @@ const UploadComponent = ({
ref={fileInputRef}
/>
</label>
<p className='pl-1'>or drag and drop</p>
<span className='pl-1'>or drag and drop</span>
</div>
<p className='text-xs leading-5 text-gray-600'>{fileType}</p>
</div>
Expand Down
Loading