From cb73e388a649bbcc0f1afd8fc04dc6dcfd62e4be Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Thu, 28 Jan 2021 17:19:00 +0100 Subject: [PATCH] add perfect scrollbar to logging, fix #16 --- assets/scss/globals.scss | 3 ++- layouts/default.vue | 1 + pages/logging.vue | 40 +++++++++++++++++++++++++++++++++++----- pages/media.vue | 9 ++++++--- 4 files changed, 44 insertions(+), 9 deletions(-) diff --git a/assets/scss/globals.scss b/assets/scss/globals.scss index 1608e177..0ce1c742 100644 --- a/assets/scss/globals.scss +++ b/assets/scss/globals.scss @@ -1,5 +1,6 @@ #__nuxt, #__layout, #__layout > div, #__layout > div > div { - height: 100% + height: 100%; + width: 100%; } @font-face{ diff --git a/layouts/default.vue b/layouts/default.vue index 67e11afe..6d2ef419 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -44,6 +44,7 @@ html, body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; box-sizing: border-box; + width: 100%; height: 100%; padding: 0; margin: 0; diff --git a/pages/logging.vue b/pages/logging.vue index 6f21f9b4..7d143787 100644 --- a/pages/logging.vue +++ b/pages/logging.vue @@ -6,12 +6,12 @@ - + -
+                        
                     
                 
                 
@@ -63,7 +63,10 @@ export default {
         return {
             logName: 'ffplayout',
             currentLog: null,
-            listDate: this.$dayjs().format('YYYY-MM-DD')
+            listDate: this.$dayjs().format('YYYY-MM-DD'),
+            scrollOP: {
+                wheelSpeed: 5
+            }
         }
     },
 
@@ -96,18 +99,45 @@ export default {