소스 검색

fix items scroll lesson CT#7539

aragonc 9 년 전
부모
커밋
c9b2a46c94
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      main/inc/lib/javascript/jquery-scrollbar/jquery.scrollbar.css
  2. 2 2
      main/template/default/learnpath/view.tpl

+ 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");
         }