Browse Source

fix items scroll lesson CT#7539

aragonc 9 years ago
parent
commit
c9b2a46c94

+ 1 - 1
main/inc/lib/javascript/jquery-scrollbar/jquery.scrollbar.css

@@ -14,7 +14,7 @@
     margin: 0;
     max-height: none;
     max-width: none !important;
-    overflow: scroll !important;
+    /* overflow: scroll !important; */
     padding: 0;
     position: relative !important;
     top: 0;

+ 2 - 2
main/template/default/learnpath/view.tpl

@@ -139,10 +139,10 @@
         var innerHeight = $(window).height();
 
         if (innerHeight <= 640) {
-            $('.scrollbar-light').css('height', innerHeight - heightTop + "px");
+            $('.scrollbar-light').css('height', innerHeight - heightTop - 5 + "px");
             $('#content_id').css('height', innerHeight - heightControl + "px");
         } else {
-            $('.scrollbar-light').css('height', innerHeight - heightBreadcrumb - heightTop + "px");
+            $('.scrollbar-light').css('height', innerHeight - heightBreadcrumb - heightTop - 5 + "px");
             $('#content_id').css('height', innerHeight - heightControl + "px");
         }