瀏覽代碼

Merge pull request #291 from cihat/fix/smooth-scroll

Fix smooth scroll behavior on styles
Aykut Saraç 2 年之前
父節點
當前提交
962e108f79
共有 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;
-    scroll-behavior: smooth;
+    scroll-behavior: smooth !important;
   }
 
   .hide {