You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2017/02/27 19:43:53 UTC

ambari git commit: AMBARI-20214. Strange UI behavior on editing property (akovalenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk 10c099c17 -> 8b4073f53


AMBARI-20214. Strange UI behavior on editing property (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8b4073f5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8b4073f5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8b4073f5

Branch: refs/heads/trunk
Commit: 8b4073f53e54f738d944e05c386905f50faaae7f
Parents: 10c099c
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Mon Feb 27 20:49:25 2017 +0200
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Mon Feb 27 21:43:37 2017 +0200

----------------------------------------------------------------------
 ambari-web/app/styles/config_history_flow.less    | 7 +++++--
 ambari-web/app/views/main/service/info/configs.js | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8b4073f5/ambari-web/app/styles/config_history_flow.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/config_history_flow.less b/ambari-web/app/styles/config_history_flow.less
index e3fe0e7..41d23d4 100644
--- a/ambari-web/app/styles/config_history_flow.less
+++ b/ambari-web/app/styles/config_history_flow.less
@@ -41,8 +41,11 @@
 }
 
 .dependencies-info-bar-wrapper {
-  z-index: 2;
-  margin: 0;
+  z-index: 3;
+  margin: 0 0 20px;
+  .alert {
+    margin: 0;
+  }
 }
 
 #config_history_flow {

http://git-wip-us.apache.org/repos/asf/ambari/blob/8b4073f5/ambari-web/app/views/main/service/info/configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/configs.js b/ambari-web/app/views/main/service/info/configs.js
index cd64a8b..08fa50d 100644
--- a/ambari-web/app/views/main/service/info/configs.js
+++ b/ambari-web/app/views/main/service/info/configs.js
@@ -107,7 +107,7 @@ App.MainServiceInfoConfigsView = Em.View.extend({
   onHasChangedDependenciesUpdated: function () {
     if (this.get('controller.hasChangedDependencies')) {
       Em.run.next(function () {
-        $(".dependencies-info-bar-wrapper").stick_in_parent({parent: '#serviceConfig', offset_top: 60});
+        $(".dependencies-info-bar-wrapper").stick_in_parent({parent: '#serviceConfig', offset_top: 74});
         Em.run.next(function () {
           $(".dependencies-info-bar-wrapper").trigger("sticky_kit:recalc"); // '.dependencies-info-bar-wrapper' position should be recalculated
         });