浏览代码

[spark] Do not enforce result table height

When there's only a few rows it's a bit too much with 360 px so let's not enforce it.
Johan Ahlen 10 年之前
父节点
当前提交
6f63187461
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/spark/src/spark/templates/editor_components.mako

+ 1 - 1
apps/spark/src/spark/templates/editor_components.mako

@@ -486,7 +486,7 @@ from django.utils.translation import ugettext as _
         </a>
       </div>
       <div data-bind="css: resultsKlass, event: { mouseover: function(){ $('#toggleResultSettingsGrid' + id()).addClass('hoverable'); }, mouseout: function(){ $('#toggleResultSettingsGrid' + id()).removeClass('hoverable'); } }">
-        <table class="table table-condensed resultTable" data-tablescroller-fixed-height="360" data-tablescroller-enforce-height="true">
+        <table class="table table-condensed resultTable" data-tablescroller-fixed-height="360" data-tablescroller-enforce-height="false">
           <thead>
           <tr data-bind="foreach: result.meta">
             <th data-bind="html: ($index() == 0 ? '&nbsp;' : $data.name), css: { 'sort-numeric': isNumericColumn($data.type), 'sort-date': isDateTimeColumn($data.type), 'sort-string': isStringColumn($data.type)}, attr: {'width': $index() == 0 ? '1%' : ''}"></th>