mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-05-04 06:14:57 +03:00
FEATURE - New settings modal (#24)
Co-authored-by: Tyler Mayoff <tyler@tylermayoff.com>
This commit is contained in:
parent
a00a6d539e
commit
9463d83752
22 changed files with 566 additions and 30 deletions
src/mixins
17
src/mixins/FullScreenModal.js
Normal file
17
src/mixins/FullScreenModal.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
export default {
|
||||
computed: {
|
||||
phoneLayout() {
|
||||
return this.$vuetify.breakpoint.xsOnly
|
||||
},
|
||||
dialogWidth() {
|
||||
return this.phoneLayout ? '100%' : '80%'
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
dialog(visible) {
|
||||
if (!visible) {
|
||||
this.tab = null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue