浏览代码

HUE-8330 [cluster] Tweak dropdown style to fit on one line

Romain 6 年之前
父节点
当前提交
dc67fde101
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      desktop/core/src/desktop/templates/hue.mako

+ 4 - 4
desktop/core/src/desktop/templates/hue.mako

@@ -259,10 +259,6 @@ ${ hueIcons.symbols() }
           % if IS_MULTICLUSTER_ONLY.get():
             ##<!-- ko component: { name: 'hue-app-switcher', params: { onPrem: ko.observable(false) } } --><!-- /ko -->
           % endif
-          % if has_multi_clusters():
-            <select data-bind="options: clusters, optionsText: 'name', value: 'id'" class="input-medium pull-right">
-            </select>
-          % endif
 
           <%
             view_profile = user.has_hue_permission(action="access_view:useradmin:edit_user", app="useradmin") or is_admin(user)
@@ -288,6 +284,10 @@ ${ hueIcons.symbols() }
         </div>
         % endif
 
+        % if has_multi_clusters():
+          <select data-bind="options: clusters, optionsText: 'name', value: 'id'" class="input-small" style="margin-top:8px">
+          </select>
+        % endif
         <!-- ko component: 'hue-history-panel' --><!-- /ko -->
         <!-- ko if: hasJobBrowser -->
           <!-- ko component: { name: 'hue-job-browser-links', params: { onePageViewModel: onePageViewModel }} --><!-- /ko -->