Răsfoiți Sursa

HUE-5853 [oozie] Fix margins for the workflow title and z-index of draggable widgets

Enrico Berti 8 ani în urmă
părinte
comite
b82d52f2eb

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
apps/oozie/src/oozie/static/oozie/css/workflow-editor.css


+ 1 - 0
apps/oozie/src/oozie/static/oozie/less/workflow-editor.less

@@ -21,6 +21,7 @@
   .draggable-widget, .draggable-icon {
     cursor: move;
     background-color: #FFF;
+    z-index: 100;
   }
 
   #emptyDashboard {

+ 4 - 0
apps/oozie/src/oozie/templates/editor2/workflow_editor.mako

@@ -291,7 +291,11 @@ ${ layout.menubar(section='workflows', is_editor=True, pullright=buttons) }
 
   <div class="container-fluid">
   <div class="row-fluid">
+    %if is_embeddable:
+    <div class="span12 margin-top-20">
+    %else:
     <div class="span12" data-bind="style:{'marginTop' : $root.isEditing() ? '120px': '50px'}">
+    %endif
     <div class="object-name" style="text-align: center">
       <span data-bind="editable: $root.workflow.name, editableOptions: {enabled: $root.isEditing(), placement: 'right'}"></span>
     </div>

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff