aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
Diffstat (limited to 'viewer')
-rw-r--r--viewer/.env1
-rw-r--r--viewer/src/store/uiStore.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/viewer/.env b/viewer/.env
index 0914292..99efa3d 100644
--- a/viewer/.env
+++ b/viewer/.env
@@ -3,3 +3,4 @@
3VUE_APP_I18N_LOCALE=en 3VUE_APP_I18N_LOCALE=en
4VUE_APP_I18N_FALLBACK_LOCALE=en 4VUE_APP_I18N_FALLBACK_LOCALE=en
5VUE_APP_DATA_URL=./ 5VUE_APP_DATA_URL=./
6VUE_APP_FULLWIDTH_LIMIT=1216
diff --git a/viewer/src/store/uiStore.ts b/viewer/src/store/uiStore.ts
index 21f9ce9..2bd315c 100644
--- a/viewer/src/store/uiStore.ts
+++ b/viewer/src/store/uiStore.ts
@@ -27,7 +27,7 @@ const VuexModule = createModule({
27export default class UIStore extends VuexModule { 27export default class UIStore extends VuexModule {
28 28
29 fullscreen: boolean = false; 29 fullscreen: boolean = false;
30 fullWidth: boolean = true; 30 fullWidth: boolean = window.innerWidth < Number(process.env.VUE_APP_FULLWIDTH_LIMIT);
31 searchMode: boolean = false; 31 searchMode: boolean = false;
32 32
33 // --- 33 // ---