diff --git a/.changeset/wild-points-double.md b/.changeset/wild-points-double.md new file mode 100644 index 000000000..c40f5bc24 --- /dev/null +++ b/.changeset/wild-points-double.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Fix scrollbar jumps when content is higher than screen diff --git a/core/scss/layout/_root.scss b/core/scss/layout/_root.scss index 5fa48ff13..23938ce19 100644 --- a/core/scss/layout/_root.scss +++ b/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,