From 6737bfd38a0568d61c691a507303a65550ae23fc Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 10 Sep 2020 18:44:05 +0200 Subject: viewer: information panel scrollbar and collapse with animation github: resolves #78 --- viewer/src/views/MainLayout.vue | 2 +- viewer/src/views/PanelLeft.vue | 26 +++++++++++++++----------- 2 files changed, 16 insertions(+), 12 deletions(-) (limited to 'viewer/src/views') diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index 2dd7a57..80778f6 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue @@ -106,7 +106,7 @@ html { } .layout { position: fixed; - transition: all 0.1s linear; + transition: all $transition-flex-expand linear; top: 0; bottom: 0; left: 0; diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue index f8d6faf..12c95d1 100644 --- a/viewer/src/views/PanelLeft.vue +++ b/viewer/src/views/PanelLeft.vue @@ -18,7 +18,7 @@ --> @@ -92,11 +92,11 @@ export default class PanelLeft extends Vue { } - -- cgit v1.2.3