Просмотр исходного кода

AMBARI-4581 Filter field in Add Service Wizard is out of place in narrow window. (ababiichuk)

aBabiichuk 11 лет назад
Родитель
Сommit
2e2b7153f4
2 измененных файлов с 9 добавлено и 4 удалено
  1. 8 3
      ambari-web/app/styles/application.less
  2. 1 1
      ambari-web/app/utils/config.js

+ 8 - 3
ambari-web/app/styles/application.less

@@ -4520,10 +4520,15 @@ ul.inline li {
       width: 68%;
     }
   }
-  .wizard-content{
-    .filter-combobox{
+  .wizard-content {
+    #serviceConfig {
+      .alert {
+        padding-right: 10px!important;
+      }
+    }
+    .filter-combobox {
       > input {
-        width: 140px!important;
+        width: 115px!important;
       }
     }
   }

+ 1 - 1
ambari-web/app/utils/config.js

@@ -43,7 +43,7 @@ App.config = Em.Object.create({
     "'": "'"
   },
   
-  CONFIG_GROUP_NAME_MAX_LENGTH: 40,
+  CONFIG_GROUP_NAME_MAX_LENGTH: 18,
 
   /**
    * filename exceptions used to support substandard sitenames which don't have "xml" extension