Commit b49c8216 authored by Kev's avatar Kev

Fix filename overflowing modal when importing

Changelog: fixed
parent 4d8107ee
...@@ -60,7 +60,11 @@ export default { ...@@ -60,7 +60,11 @@ export default {
<form ref="form" :action="importCsvIssuesPath" enctype="multipart/form-data" method="post"> <form ref="form" :action="importCsvIssuesPath" enctype="multipart/form-data" method="post">
<input :value="$options.csrf.token" type="hidden" name="authenticity_token" /> <input :value="$options.csrf.token" type="hidden" name="authenticity_token" />
<p>{{ $options.i18n.mainText }}</p> <p>{{ $options.i18n.mainText }}</p>
<gl-form-group :label="$options.i18n.uploadCsvFileText" label-for="file"> <gl-form-group
:label="$options.i18n.uploadCsvFileText"
class="gl-text-truncate"
label-for="file"
>
<input id="file" type="file" name="file" accept=".csv,text/csv" /> <input id="file" type="file" name="file" accept=".csv,text/csv" />
</gl-form-group> </gl-form-group>
<p class="text-secondary"> <p class="text-secondary">
......
...@@ -68,7 +68,11 @@ export default { ...@@ -68,7 +68,11 @@ export default {
</p> </p>
<div> <div>
<gl-form-group label="Upload CSV file" label-for="import-requirements-file-input"> <gl-form-group
label="Upload CSV file"
class="gl-text-truncate"
label-for="import-requirements-file-input"
>
<input <input
id="import-requirements-file-input" id="import-requirements-file-input"
ref="fileInput" ref="fileInput"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment