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

heatmap: fix for unit options width

Torkel Ödegaard 8 лет назад
Родитель
Сommit
2e7ac8f2da
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      public/app/plugins/panel/heatmap/partials/axes_editor.html

+ 5 - 5
public/app/plugins/panel/heatmap/partials/axes_editor.html

@@ -3,7 +3,7 @@
     <h5 class="section-heading">Y Axis</h5>
     <div class="gf-form">
       <label class="gf-form-label width-8">Unit</label>
-      <div class="gf-form-dropdown-typeahead max-width-10"
+      <div class="gf-form-dropdown-typeahead width-12"
            ng-model="ctrl.panel.yAxis.format"
            dropdown-typeahead2="editor.unitFormats"
            dropdown-typeahead-on-select="editor.setUnitFormat($subItem)">
@@ -11,21 +11,21 @@
     </div>
     <div class="gf-form">
       <label class="gf-form-label width-8">Scale</label>
-      <div class="gf-form-select-wrapper max-width-10">
+      <div class="gf-form-select-wrapper width-12">
         <select class="gf-form-input" ng-model="ctrl.panel.yAxis.logBase" ng-options="v as k for (k, v) in editor.logScales" ng-change="ctrl.refresh()"></select>
       </div>
     </div>
     <div class="gf-form">
       <label class="gf-form-label width-8">Y-Min</label>
-      <input type="text" class="gf-form-input width-10" placeholder="auto" empty-to-null ng-model="ctrl.panel.yAxis.min" ng-change="ctrl.render()" ng-model-onblur>
+      <input type="text" class="gf-form-input width-12" placeholder="auto" empty-to-null ng-model="ctrl.panel.yAxis.min" ng-change="ctrl.render()" ng-model-onblur>
     </div>
     <div class="gf-form">
       <label class="gf-form-label width-8">Y-Max</label>
-      <input type="text" class="gf-form-input width-10" placeholder="auto" empty-to-null ng-model="ctrl.panel.yAxis.max" ng-change="ctrl.render()" ng-model-onblur>
+      <input type="text" class="gf-form-input width-12" placeholder="auto" empty-to-null ng-model="ctrl.panel.yAxis.max" ng-change="ctrl.render()" ng-model-onblur>
     </div>
     <div class="gf-form">
       <label class="gf-form-label width-8">Decimals</label>
-      <input type="number" class="gf-form-input width-10" placeholder="auto" data-placement="right"
+      <input type="number" class="gf-form-input width-12" placeholder="auto" data-placement="right"
                                                                              bs-tooltip="'Override automatic decimal precision for axis.'"
                                                                              ng-model="ctrl.panel.yAxis.decimals" ng-change="ctrl.render()" ng-model-onblur>
     </div>