1
0
Fork 0
mirror of https://github.com/VueTorrent/VueTorrent.git synced 2025-05-08 16:22:40 +03:00

Fix Search modal sizing

This commit is contained in:
Daan 2020-09-13 15:13:33 +02:00
parent 73c8e10cf3
commit ca1a36f4a4

View file

@ -5,7 +5,7 @@
:width="dialogWidth"
:fullscreen="phoneLayout"
>
<v-card min-height="400px">
<v-card :style="{ height: phoneLayout ? '100vh' : '' }">
<v-container
:style="{ height: phoneLayout ? '100vh' : '' }"
:class="`pa-0 project done`"
@ -134,6 +134,11 @@ export default {
noResults: false
}
},
computed: {
dialogWidth() {
return this.phoneLayout ? '100%' : '750px'
}
},
methods: {
async search() {
this.noResults = false