瀏覽代碼

Fix smooth scroll behavior on styles

cihat-salik 2 年之前
父節點
當前提交
410da36327
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/constants/globalStyle.ts

+ 1 - 1
src/constants/globalStyle.ts

@@ -22,7 +22,7 @@ const GlobalStyle = createGlobalStyle`
 
 
   * {
   * {
     -webkit-tap-highlight-color: transparent;
     -webkit-tap-highlight-color: transparent;
-    scroll-behavior: smooth;
+    scroll-behavior: smooth !important;
   }
   }
 
 
   .hide {
   .hide {