This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 508a609  AMBARI-23210 Customise Services: Alignment issue while adding 
new custom password property
508a609 is described below

commit 508a609c064da59f037489f7e35980f3e315a293
Author: Andrii Tkach <atk...@apache.org>
AuthorDate: Tue Mar 13 13:15:16 2018 +0200

    AMBARI-23210 Customise Services: Alignment issue while adding new custom 
password property
---
 ambari-web/app/styles/service_configurations.less | 9 +++++++++
 ambari-web/app/views/common/controls_view.js      | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/ambari-web/app/styles/service_configurations.less 
b/ambari-web/app/styles/service_configurations.less
index d2948f2..60360b0 100644
--- a/ambari-web/app/styles/service_configurations.less
+++ b/ambari-web/app/styles/service_configurations.less
@@ -289,6 +289,7 @@
   }
   .config-controls {
     line-height: 34px;
+    vertical-align: top;
   }
   .clear-left{
     clear:left;
@@ -329,3 +330,11 @@
     }
   }
 }
+
+.password-field-wrapper {
+  width: 75%;
+  display: inline-block;
+  .row {
+    padding: 0;
+  }
+}
diff --git a/ambari-web/app/views/common/controls_view.js 
b/ambari-web/app/views/common/controls_view.js
index b1b9ebd..9cc47a1 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -307,6 +307,8 @@ App.ServiceConfigPasswordField = 
Ember.View.extend(App.ServiceConfigPopoverSuppo
 
   templateName: 
require('templates/common/configs/widgets/service_config_password_field'),
 
+  classNames: ['password-field-wrapper'],
+
   readOnly: Em.computed.not('serviceConfig.isEditable'),
 
   keyPress: function (event) {

-- 
To stop receiving notification emails like this one, please contact
atk...@apache.org.

Reply via email to