Prechádzať zdrojové kódy

Fix scrollbar jumps when content is higher than screen (#2237)

Paweł Kuna 5 mesiacov pred
rodič
commit
e14e4921b5

+ 5 - 0
.changeset/wild-points-double.md

@@ -0,0 +1,5 @@
+---
+"@tabler/core": patch
+---
+
+Fix scrollbar jumps when content is higher than screen

+ 4 - 0
core/scss/layout/_root.scss

@@ -3,6 +3,10 @@
   font-size: 16px;
   height: 100%;
 
+  @include media-breakpoint-up(lg) {
+    margin-left: calc(100vw - 100%);
+    margin-right: 0;
+  }
 }
 
 :root,