diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-12-02 14:26:30 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-12-02 14:26:30 +0900 |
| commit | 6f92d601ec496062cea2de03aacae60a2febd0eb (patch) | |
| tree | ea86ef239d148e38e4ef81a3d5a7b53d1ecd8cdc /src/client | |
| parent | Suggest in CW (#3467) (diff) | |
| download | sharkey-6f92d601ec496062cea2de03aacae60a2febd0eb.tar.gz sharkey-6f92d601ec496062cea2de03aacae60a2febd0eb.tar.bz2 sharkey-6f92d601ec496062cea2de03aacae60a2febd0eb.zip | |
:art:
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/views/components/menu.vue | 7 | ||||
| -rw-r--r-- | src/client/app/mobile/script.ts | 6 |
2 files changed, 12 insertions, 1 deletions
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 || {}; |