From f4967615c0f3c263837a21b99dc9e81131e92d71 Mon Sep 17 00:00:00 2001 From: GitStart <1501599+gitstart@users.noreply.github.com> Date: Thu, 3 Aug 2023 14:07:01 +0100 Subject: [PATCH] UPTM-14 - Dashboard Display on vertical 4K screen (#3451) * Update src/pages/DashboardHome.vue Co-authored-by: Frank Elsinga * resolve comment Co-authored-by: AqidaHaidari Co-authored-by: Pascal Ojinnaka <56399504+passy4ucj@users.noreply.github.com> Co-authored-by: Aqida <42426077+AqidaHaidari@users.noreply.github.com> --------- Co-authored-by: gitstart Co-authored-by: AqidaHaidari Co-authored-by: gitstart_bot Co-authored-by: Frank Elsinga Co-authored-by: Pascal Ojinnaka <56399504+passy4ucj@users.noreply.github.com> Co-authored-by: Aqida <42426077+AqidaHaidari@users.noreply.github.com> --- src/pages/Dashboard.vue | 11 +++++++--- src/pages/DashboardHome.vue | 40 ++++++++++++++++++++++++++++++++++++- 2 files changed, 47 insertions(+), 4 deletions(-) diff --git a/src/pages/Dashboard.vue b/src/pages/Dashboard.vue index c49f5f3a7..9a65711bd 100644 --- a/src/pages/Dashboard.vue +++ b/src/pages/Dashboard.vue @@ -8,9 +8,9 @@ -
+
- +
@@ -25,7 +25,12 @@ export default { MonitorList, }, data() { - return {}; + return { + height: 0 + }; + }, + mounted() { + this.height = this.$refs.container.offsetHeight; }, }; diff --git a/src/pages/DashboardHome.vue b/src/pages/DashboardHome.vue index 2745d91bc..0be4555a7 100644 --- a/src/pages/DashboardHome.vue +++ b/src/pages/DashboardHome.vue @@ -1,5 +1,5 @@