Эх сурвалжийг харах

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

Enrico Berti 7 жил өмнө
parent
commit
411aaf6a8e

+ 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>