Filename overflowing modal when importing

Summary

When importing a CSV into Requirements or Issues, if the file name is too long it will break outside of the frame of the modal.

Requirements Issues
Screenshot_2021-01-26_Requirements___Austin_Regnery_Demo Screen_Shot_2021-01-26_at_3.07.50_PM

Steps to reproduce

  1. Try to import a file with a long name

What is the expected correct behavior?

Filename shorten based on length

Screenshot_2021-01-26_Issues___Austin_Regnery_Demo

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes