diff --git a/src/components/MonitorList.vue b/src/components/MonitorList.vue index a3ead6c8d..1e4fcaf41 100644 --- a/src/components/MonitorList.vue +++ b/src/components/MonitorList.vue @@ -89,8 +89,9 @@ export default { .list { &.scrollbar { - height: calc(100vh - 20px); - overflow-y: scroll; + min-height: calc(100vh - 240px); + max-height: calc(100vh - 20px); + overflow-y: auto; position: sticky; top: 10px; } diff --git a/src/layouts/Layout.vue b/src/layouts/Layout.vue index 0cb902a75..467ae53a2 100644 --- a/src/layouts/Layout.vue +++ b/src/layouts/Layout.vue @@ -40,8 +40,7 @@
- - +
diff --git a/src/pages/Dashboard.vue b/src/pages/Dashboard.vue index 1dca6b6af..b9c82e00a 100644 --- a/src/pages/Dashboard.vue +++ b/src/pages/Dashboard.vue @@ -9,7 +9,8 @@
- + +