Browse Source

HUE-3506 [metastore] Limit length of comments on table page

Enrico Berti 9 năm trước cách đây
mục cha
commit
19d316ddce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      apps/metastore/src/metastore/templates/metastore.mako

+ 1 - 1
apps/metastore/src/metastore/templates/metastore.mako

@@ -470,7 +470,7 @@ ${ assist.assistPanel() }
               <td>
                 <a class="tableLink" href="javascript:void(0);" data-bind="text: name, click: function() { $parent.setTable($data, function(){ huePubSub.publish('metastore.url.change'); }) }"></a>
               </td>
-              <td data-bind="text: comment"></td>
+              <td style="text-overflow: ellipsis; overflow: hidden; max-width: 0" data-bind="text: comment, attr: {title: comment}"></td>
               <!-- ko if: $root.optimizerEnabled -->
                 <!-- ko if: optimizerStats() -->
                 <td>