Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: Set $enable-smooth-scroll to false

haitaoobb437cfff847
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;