Przeglądaj źródła

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

Fix smooth scroll behavior on styles
Aykut Saraç 2 lat temu
rodzic
commit
962e108f79
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {