You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2014/09/19 16:28:03 UTC

git commit: AMBARI-7409 Slider View: Config keys should be wrapped even in the middle of words. (Max Shepel via atkach)

Repository: ambari
Updated Branches:
  refs/heads/trunk 0255e5dac -> 69e8e9cc4


AMBARI-7409 Slider View: Config keys should be wrapped even in the middle of words. (Max Shepel via atkach)


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

Branch: refs/heads/trunk
Commit: 69e8e9cc44bb55dc14c6625e740b0dc8e39b69fe
Parents: 0255e5d
Author: atkach <at...@hortonworks.com>
Authored: Fri Sep 19 17:26:02 2014 +0300
Committer: atkach <at...@hortonworks.com>
Committed: Fri Sep 19 17:26:02 2014 +0300

----------------------------------------------------------------------
 .../slider/src/main/resources/ui/app/styles/application.less      | 3 +++
 .../src/main/resources/ui/app/templates/slider_app/configs.hbs    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/69e8e9cc/contrib/views/slider/src/main/resources/ui/app/styles/application.less
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/styles/application.less b/contrib/views/slider/src/main/resources/ui/app/styles/application.less
index 2ea4ed8..f0d0bab 100644
--- a/contrib/views/slider/src/main/resources/ui/app/styles/application.less
+++ b/contrib/views/slider/src/main/resources/ui/app/styles/application.less
@@ -731,6 +731,9 @@ select {
       cursor: not-allowed;
       background-color: #eeeeee;
     }
+    .property-name {
+      word-wrap: break-word;
+    }
   }
 }
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/69e8e9cc/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/configs.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/configs.hbs b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/configs.hbs
index 6eddc8d..f073a8d 100644
--- a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/configs.hbs
+++ b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/configs.hbs
@@ -23,7 +23,7 @@
         <div class="container-fluid">
           {{#each configCategory.configs}}
             <div class="row">
-              <div class="col-md-3">{{formatWordBreak key devider="."}}</div>
+              <div class="col-md-3 property-name">{{formatWordBreak key devider="."}}</div>
               <div>
                 {{#if isMultiline}}
                   {{textarea disabled=true value=value classNames="col-md-6"}}