Skip to content

Commit

Permalink
Merge pull request #667 from lkiesow/file-upload-len
Browse files Browse the repository at this point in the history
Fix file upload labels
  • Loading branch information
Arnei authored Jun 6, 2024
2 parents c2763c7 + 6effade commit 1d1154e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,6 @@ const Upload = ({ formik }) => {
name={`uploadAssetsTrack.${key}.file`}
tabIndex={0}
/>
{/* Show name of file that is uploaded */}
{formik.values.uploadAssetsTrack[key].file && (
<span className="ui-helper">
{formik.values.uploadAssetsTrack[
key
].file[0].name.substr(0, 50)}
</span>
)}
</div>
</td>
<td className="fit">
Expand Down
4 changes: 2 additions & 2 deletions src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,9 @@ input.disabled, select.disabled {

// Use HTML5 input field for file upload
.file-upload > input[type="file"] {
width: inherit !important;
width: 100%;
visibility: visible !important;
hidden: false !important;
text-align: left;
}

// Notification alias error to danger
Expand Down

0 comments on commit 1d1154e

Please sign in to comment.