Преглед изворни кода

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 {