فهرست منبع

AMBARI-10428. Combo drop-down panel showing on the right (Richard Zang via srimanth)

Srimanth Gunturi 10 سال پیش
والد
کامیت
d3d73f7624
2فایلهای تغییر یافته به همراه10 افزوده شده و 12 حذف شده
  1. 9 11
      ambari-web/app/styles/widgets.less
  2. 1 1
      ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs

+ 9 - 11
ambari-web/app/styles/widgets.less

@@ -183,21 +183,19 @@
 
 .combo-widget {
   .input-append {
-
-    > input {
-      border-radius: 3px 0 0 3px;
-      width: @combo-widget-width;
-
-      &[disabled] {
-        background: #fff;
-        cursor: default;
-      }
-    }
-
     .btn-group {
       display: inline-block;
       margin-left: -1px;
 
+      > input {
+        border-radius: 3px 0 0 3px;
+        width: @combo-widget-width;
+
+        &[disabled] {
+          background: #fff;
+          cursor: default;
+        }
+      }
       .btn {
         border-radius: 0 3px 3px 0;
       }

+ 1 - 1
ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs

@@ -20,8 +20,8 @@
 {{/if}}
 <div {{bindAttr class="view.isOriginalSCP:original-widget"}}>
   <div class="input-append">
-    {{view Em.TextField valueBinding="view.content.value" disabled="disabled"}}
     <div class="dropdown btn-group">
+      {{view Em.TextField valueBinding="view.content.value" disabled="disabled"}}
       <button {{bindAttr class="view.disabled:disabled :btn :dropdown-toggle"}} data-toggle="dropdown">
         <span class="caret"></span>
       </button>