From 46d47acbbc0a654e865ee4be8e66e1067afda8c0 Mon Sep 17 00:00:00 2001 From: les Date: Tue, 21 Jan 2020 00:40:26 +0100 Subject: [PATCH] minor --- assets/style.less | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/assets/style.less b/assets/style.less index cd86fada..7a785aae 100644 --- a/assets/style.less +++ b/assets/style.less @@ -26,6 +26,7 @@ html, body { background-color: #333; overflow-y: auto; scrollbar-width: thin; + padding: 0 !important; } #__nuxt, #__layout { @@ -36,8 +37,9 @@ html, body { #main { min-height: 200px; + overflow: hidden; scrollbar-width: thin; - transition: all .3s; + // transition: background-color 1s, opacity 1s, color 1s; background-color: white; &.dark { background-color: #333; @@ -101,11 +103,12 @@ html, body { } -.page-enter-active, .page-leave-active { - transition: opacity .2s, transform .2s; +.page-enter-active { + transition: opacity .2s, transform .3s; } + .page-enter, .page-leave-active { - transition: opacity .2s, transform .2s; + transition: opacity .3s, transform .3s; opacity: 0; transform: translateX(30px); }