diff --git a/src/client/app/common/views/components/menu.vue b/src/client/app/common/views/components/menu.vue index 56d9480e17..d601c74e7d 100644 --- a/src/client/app/common/views/components/menu.vue +++ b/src/client/app/common/views/components/menu.vue @@ -1,5 +1,5 @@ <template> -<div class="onchrpzrvnoruiaenfcqvccjfuupzzwv"> +<div class="onchrpzrvnoruiaenfcqvccjfuupzzwv" :class="{ big: $root.isMobile }"> <div class="backdrop" ref="backdrop" @click="close"></div> <div class="popover" :class="{ hukidasi }" ref="popover"> <template v-for="item, i in items"> @@ -125,6 +125,11 @@ export default Vue.extend({ position initial + &.big + > .popover + > button + font-size 15px + > .backdrop position fixed top 0 diff --git a/src/client/app/mobile/script.ts b/src/client/app/mobile/script.ts index 116ffce1dc..a51e87c6aa 100644 --- a/src/client/app/mobile/script.ts +++ b/src/client/app/mobile/script.ts @@ -41,6 +41,12 @@ import FolderChooser from './views/components/drive-folder-chooser.vue'; */ init((launch) => { Vue.mixin({ + data() { + return { + isMobile: true + }; + }, + methods: { $post(opts) { const o = opts || {};