瀏覽代碼

HUE-8098 [assist] Make sure empty rows have a fixed height in the context popover column samples table

Johan Ahlen 7 年之前
父節點
當前提交
ac7d980

File diff suppressed because it is too large
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue-embedded.css


File diff suppressed because it is too large
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


File diff suppressed because it is too large
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 1 - 0
desktop/core/src/desktop/static/desktop/less/components/hue-popover.less

@@ -425,6 +425,7 @@
   table td.sample-column {
     max-width: 500px;
     .nowrap-ellipsis();
+    height: 24px;
   }
 }
 

+ 1 - 1
desktop/core/src/desktop/templates/ko_components/ko_catalog_entries_table.mako

@@ -126,7 +126,7 @@ from desktop.views import _ko
         </thead>
         <tbody data-bind="foreach: filteredColumnSamples">
           <tr>
-            <td data-bind="html: $data, attr: { 'title': $data }"></td>
+            <td class="sample-column" data-bind="html: $data, attr: { 'title': $data }"></td>
           </tr>
         </tbody>
         <!-- ko if: filteredColumnSamples().length === 0 -->

Some files were not shown because too many files changed in this diff