mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -06:00
fix(singlestat): align width for gauge settings
This commit is contained in:
parent
0d41b1294a
commit
180940a378
@ -104,10 +104,10 @@
|
||||
|
||||
<div class="section gf-form-group">
|
||||
<h5 class="section-heading">Gauge</h5>
|
||||
<gf-form-switch class="gf-form" label-class="width-10" label="Show" checked="ctrl.panel.gauge.show" on-change="ctrl.render()"></gf-form-switch>
|
||||
<gf-form-switch class="gf-form" label-class="width-8" label="Show" checked="ctrl.panel.gauge.show" on-change="ctrl.render()"></gf-form-switch>
|
||||
<div ng-if="ctrl.panel.gauge.show">
|
||||
<div class="gf-form">
|
||||
<label class="gf-form-label width-10">Min</label>
|
||||
<label class="gf-form-label width-8">Min</label>
|
||||
<input type="number" class="gf-form-input width-6" placeholder="0" data-placement="right" ng-model="ctrl.panel.gauge.minValue" ng-change="ctrl.refresh()" ng-model-onblur>
|
||||
<label class="gf-form-label alert-state-critical" ng-show="ctrl.invalidGaugeRange">
|
||||
<i class="fa fa-warning"></i>
|
||||
@ -115,7 +115,7 @@
|
||||
</label>
|
||||
</div>
|
||||
<div class="gf-form">
|
||||
<label class="gf-form-label width-10">Max</label>
|
||||
<label class="gf-form-label width-8">Max</label>
|
||||
<input type="number" class="gf-form-input width-6" placeholder="0" data-placement="right" ng-model="ctrl.panel.gauge.maxValue" ng-change="ctrl.refresh()" ng-model-onblur>
|
||||
</div>
|
||||
<gf-form-switch class="gf-form" label-class="width-10" label="Threshold labels" checked="ctrl.panel.gauge.thresholdLabels" on-change="ctrl.render()"></gf-form-switch>
|
||||
|
Loading…
Reference in New Issue
Block a user