ソースを参照

HUE-7846 [dashboard] Left align dashboard save as input

jdesjean 7 年 前
コミット
b18e4a5ce4

ファイルの差分が大きいため隠しています
+ 0 - 0
desktop/libs/dashboard/src/dashboard/static/dashboard/css/common_dashboard.css


+ 12 - 0
desktop/libs/dashboard/src/dashboard/static/dashboard/less/common_dashboard.less

@@ -452,4 +452,16 @@
     -ms-transition: border-left-color 0.2s ease;
     transition: border-left-color 0.2s ease;
   }
+
+  .singleValued.form-horizontal .controls {
+    margin-left: 65px;
+  }
+
+  .singleValued.form-horizontal .control-label {
+    text-align: left;
+    margin-left: 0px;
+    width: 60px;
+    overflow: hidden;
+    text-overflow: ellipsis;
+  }
 }

+ 1 - 1
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -2823,7 +2823,7 @@ ${ dashboard.layout_skeleton(suffix='search') }
   </div>
 
   <div class="modal-body">
-    <form class="form-horizontal">
+    <form class="singleValued form-horizontal">
       <div class="control-group">
         <label class="control-label">${_('Name')}</label>
         <div class="controls">

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません