瀏覽代碼

HUE-7881 [core] Fix font loading problems that affect the autocompleters

Enrico Berti 7 年之前
父節點
當前提交
0e16243

文件差異過大導致無法顯示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue-embedded.css


文件差異過大導致無法顯示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


+ 7 - 0
desktop/core/src/desktop/static/desktop/less/hue4.less

@@ -991,4 +991,11 @@ a:visited {
       width: 180px !important;
     }
   }
+}
+
+.monospace-preload {
+  font-family: @font-family-monospace;
+  height: 0;
+  width: 0;
+  overflow: hidden;
 }

+ 5 - 0
desktop/core/src/desktop/templates/hue.mako

@@ -1843,5 +1843,10 @@ ${ commonHeaderFooterComponents.footer(messages) }
 </div>
 % endif
 
+<div class="monospace-preload" style="opacity: 0">
+  ${ _('Hue and the Hue logo are trademarks of Cloudera, Inc.') }
+  <b>Query. Explore. Repeat.</b>
+</div>
+
 </body>
 </html>

部分文件因文件數量過多而無法顯示