Browse Source

HUE-3002 [oozie] Very difficult to remove an action's properties

Fixed the properties css
Enrico Berti 10 years ago
parent
commit
b36e739

+ 1 - 1
apps/oozie/src/oozie/static/oozie/css/common-editor.css

@@ -62,7 +62,7 @@ input[type="text"].seventy, textarea.seventy {
 }
 
 input[type="text"].thirty {
-  width: 30%;
+  width: 30%!important;
 }
 
 input[type="text"].with-errors, textarea.with-errors {

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/common_workflow.mako

@@ -378,7 +378,7 @@
     <ul data-bind="visible: properties.job_properties().length > 0, foreach: properties.job_properties" class="unstyled">
       <li>
         <input type="text" data-bind="value: name" placeholder="${ _('name, e.g. mapred.job.queue.name') }"/>
-        <input type="text" class="filechooser-input input-xlarge" data-bind="filechooser: value, filechooserOptions: globalFilechooserOptions, hdfsAutocomplete: value, value: value, attr: { placeholder: $root.workflow_properties.job_properties.help_text }" validate="nonempty"/>
+        <input type="text" class="filechooser-input input-xlarge thirty" data-bind="filechooser: value, filechooserOptions: globalFilechooserOptions, hdfsAutocomplete: value, value: value, attr: { placeholder: $root.workflow_properties.job_properties.help_text }" validate="nonempty"/>
         <a href="#" data-bind="click: function(){ $parent.properties.job_properties.remove(this); $(document).trigger('drawArrows') }">
           <i class="fa fa-minus"></i>
         </a>