mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-25 02:45:48 +03:00
fix: magnet text area max size #413
This commit is contained in:
parent
982360eb03
commit
4dd81f7cd4
1 changed files with 3 additions and 2 deletions
|
@ -87,6 +87,7 @@
|
||||||
<v-textarea
|
<v-textarea
|
||||||
v-if="files.length == 0"
|
v-if="files.length == 0"
|
||||||
v-model="urls"
|
v-model="urls"
|
||||||
|
style="max-height: 200px; overflow-x: hidden; overflow-y: auto"
|
||||||
:label="$t('url')"
|
:label="$t('url')"
|
||||||
:prepend-icon="mdiLink"
|
:prepend-icon="mdiLink"
|
||||||
rows="1"
|
rows="1"
|
||||||
|
@ -233,7 +234,7 @@ export default {
|
||||||
if (f.type) return f.type === 'application/x-bittorrent'
|
if (f.type) return f.type === 'application/x-bittorrent'
|
||||||
else return /^.*\.torrent$/.test(f.name)
|
else return /^.*\.torrent$/.test(f.name)
|
||||||
})
|
})
|
||||||
|
|
||||||
return result ? result : this.$i18n.t('modals.add.oneOrMoreFilesInvalidTorrent')
|
return result ? result : this.$i18n.t('modals.add.oneOrMoreFilesInvalidTorrent')
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -354,4 +355,4 @@ export default {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue