Parcourir la source

overscroll-behavior: none; for html, body

zwbetz-gh il y a 2 ans
Parent
commit
be6536778d
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      assets/css/template-styles.css

+ 3 - 1
assets/css/template-styles.css

@@ -15,12 +15,14 @@
     padding: 0;
     box-sizing: border-box;
 }
-html {
+html,
+body {
     font-size: calc(1em + 0.33vw);
     font-family: Arial, Helvetica Neue, sans-serif;
     line-height: 1.5;
     color: #111;
     background-color: #fefefe;
+    overscroll-behavior: none;
 }
 template {
   display: none !important;