浏览代码

[spark] Fix problem with minimum height for results

Enrico Berti 11 年之前
父节点
当前提交
ed5a56d
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      apps/spark/static/css/spark.css
  2. 1 1
      desktop/core/static/js/jquery.tablescroller.js

+ 1 - 0
apps/spark/static/css/spark.css

@@ -34,6 +34,7 @@
 .add-snippet {
 .add-snippet {
   margin: 10px;
   margin: 10px;
   margin-top: 60px;
   margin-top: 60px;
+  margin-bottom: 60px;
   background-color: #F1F1F1;
   background-color: #F1F1F1;
   cursor: default;
   cursor: default;
 }
 }

+ 1 - 1
desktop/core/static/js/jquery.tablescroller.js

@@ -108,7 +108,7 @@
             $(el).css("overflow-y", "auto").height(minHeightVal);
             $(el).css("overflow-y", "auto").height(minHeightVal);
           }
           }
           if (fixedHeight > -1){
           if (fixedHeight > -1){
-            $(el).css("overflow-y", "auto").height(fixedHeight);
+            $(el).css("overflow-y", "auto").css("maxHeight", fixedHeight);
           }
           }
         }
         }
       }
       }