浏览代码

HUE-7927 [metastore] Sample view on the main table page should have an horizontal scrollbar

Enrico Berti 7 年之前
父节点
当前提交
411aaf6a8e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      apps/metastore/src/metastore/templates/metastore.mako

+ 2 - 0
apps/metastore/src/metastore/templates/metastore.mako

@@ -698,7 +698,9 @@ ${ components.menubar(is_embeddable) }
     <!-- ko with: samples -->
       <!-- ko if: loaded() && !hasErrors() -->
         <!-- ko with: preview -->
+        <div style="overflow: auto">
         <!-- ko template: { if: rows().length, name: 'metastore-samples-table' } --><!-- /ko -->
+        </div>
         <a class="pointer" data-bind="visible: rows().length >= 3, click: function() { $('li a[href=\'#sample\']').click(); }"  style="display: none;">
           ${_('View more...')}
         </a>