From bb437cfff8473aa0b996c2bc57065ddbe8dbc8a7 Mon Sep 17 00:00:00 2001 From: haitaoo Date: Fri, 2 Jun 2023 18:46:51 +0800 Subject: [PATCH] fix: Set $enable-smooth-scroll to false --- ui/src/common/_variable.scss | 1 + ui/src/index.scss | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/src/common/_variable.scss b/ui/src/common/_variable.scss index 97e7650b..be528cfc 100644 --- a/ui/src/common/_variable.scss +++ b/ui/src/common/_variable.scss @@ -3,3 +3,4 @@ $enable-negative-margins: true; $blue: #0033FF !default; $placeholder-opacity-max: .2; $placeholder-opacity-min: .1; +$enable-smooth-scroll: false; diff --git a/ui/src/index.scss b/ui/src/index.scss index d687def8..0f23a1da 100644 --- a/ui/src/index.scss +++ b/ui/src/index.scss @@ -18,10 +18,6 @@ } } -:root { - scroll-behavior: auto; -} - html, body { padding: 0;