diff --git a/themes/learn2/templates/partials/.base.html.twig.swp b/themes/learn2/css/.custom.css.swp similarity index 55% rename from themes/learn2/templates/partials/.base.html.twig.swp rename to themes/learn2/css/.custom.css.swp index d83fdb1..ce684ab 100644 Binary files a/themes/learn2/templates/partials/.base.html.twig.swp and b/themes/learn2/css/.custom.css.swp differ diff --git a/themes/learn2/css/custom.css b/themes/learn2/css/custom.css index 066d8c6..d1dbc24 100644 --- a/themes/learn2/css/custom.css +++ b/themes/learn2/css/custom.css @@ -147,3 +147,5 @@ blockquote { .scroll-element.scroll-y { display: none !important; } + +.scrollbar-dynamic { height: 100%; overflow: auto; } diff --git a/themes/learn2/js/.jquery.scrollbar.js.swp b/themes/learn2/js/.jquery.scrollbar.js.swp deleted file mode 100644 index 06dd680..0000000 Binary files a/themes/learn2/js/.jquery.scrollbar.js.swp and /dev/null differ diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp new file mode 100644 index 0000000..67a2101 Binary files /dev/null and b/themes/learn2/js/.learn.js.swp differ diff --git a/themes/learn2/js/learn.js b/themes/learn2/js/learn.js index 2a6186c..5eba38d 100644 --- a/themes/learn2/js/learn.js +++ b/themes/learn2/js/learn.js @@ -94,7 +94,7 @@ jQuery(document).ready(function() { return false; }); - jQuery('.scrollbar-inner').scrollbar(); + jQuery('.scrollbar-dynamic').scrollbar(); jQuery('[data-sidebar-toggle]').on('click', function() { jQuery(document.body).toggleClass('sidebar-hidden');