Explorar o código

HUE-8601 [jb] Fix issue where context selector in mini jb is hidden behind expand text

Johan Ahlen %!s(int64=7) %!d(string=hai) anos
pai
achega
8ac92d4

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

@@ -81,7 +81,7 @@ ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode }
 
 
 % if is_mini:
-  <div class="pull-right" style="padding: 6px 10px 0 0">
+  <div class="mini-jb-context-selector">
     <!-- ko component: {
       name: 'hue-context-selector',
       params: {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue-embedded.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


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

@@ -101,6 +101,15 @@
   .hue-box-shadow-top;
 }
 
+.mini-jb-context-selector {
+  padding: 5px 80px 0 0;
+  float: right;
+
+  .hue-drop-down-active span {
+    font-size: 13px;
+  }
+}
+
 .notification-history {
   overflow-y: auto;
   max-height: 270px;

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

@@ -286,7 +286,7 @@ ${ hueIcons.symbols() }
   </nav>
 
   <div id="jobsPanel" class="jobs-panel" style="display: none;">
-    <div style="position: absolute; right: 0px; padding: inherit;">
+    <div style="position: absolute; right: 0px; padding: 5px 10px;">
       <a class="pointer inactive-action pull-right" onclick="huePubSub.publish('hide.jobs.panel')"><i class="fa fa-fw fa-times"></i></a>
       <a class="pointer inactive-action pull-right" onclick="huePubSub.publish('mini.jb.expand'); huePubSub.publish('hide.jobs.panel')" title="${ _('Open in Job Browser') }">
         ${ _('Open') } <i class="fa fa-fw fa-expand"></i>

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio