diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-11-03 17:04:37 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-11-03 17:04:37 +0900 |
| commit | 055e9f21b7f97ca2bb1cbe1e2dd29cac638d0226 (patch) | |
| tree | 404352a0e86d08c662aeb627319c9481210233b9 /src | |
| parent | wip: Desktop UI (diff) | |
| download | sharkey-055e9f21b7f97ca2bb1cbe1e2dd29cac638d0226.tar.gz sharkey-055e9f21b7f97ca2bb1cbe1e2dd29cac638d0226.tar.bz2 sharkey-055e9f21b7f97ca2bb1cbe1e2dd29cac638d0226.zip | |
wip: Desktop UI
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/sidebar.ts | 7 | ||||
| -rw-r--r-- | src/client/ui/desktop.vue | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/client/sidebar.ts b/src/client/sidebar.ts index 1132431e1c..b9cdd87a4a 100644 --- a/src/client/sidebar.ts +++ b/src/client/sidebar.ts @@ -4,6 +4,7 @@ import { computed } from 'vue'; import { store } from '@/store'; import { search } from '@/scripts/search'; import * as os from '@/os'; +import { i18n } from '@/i18n'; export const sidebarDef = { notifications: { @@ -124,19 +125,19 @@ export const sidebarDef = { icon: faColumns, action: (ev) => { os.modalMenu([{ - text: 'Default', + text: i18n.global.t('default'), action: () => { localStorage.setItem('ui', 'default'); location.reload(); } }, { - text: 'Deck', + text: i18n.global.t('deck'), action: () => { localStorage.setItem('ui', 'deck'); location.reload(); } }, { - text: 'Desktop', + text: i18n.global.t('desktop'), action: () => { localStorage.setItem('ui', 'desktop'); location.reload(); diff --git a/src/client/ui/desktop.vue b/src/client/ui/desktop.vue index 0d266ae016..3f55c8329e 100644 --- a/src/client/ui/desktop.vue +++ b/src/client/ui/desktop.vue @@ -59,6 +59,8 @@ export default defineComponent({ <style lang="scss" scoped> .mk-app { + height: 100vh; + width: 100vw; } </style> |