Commit 4a5434bf by Michael Cristina Committed by GitHub

Graph: align form switch in graph panel (#24202)

parent 6fb7a60a
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<gf-form-switch <gf-form-switch
class="gf-form" class="gf-form"
label="Min" label="Min"
label-class="width-4" label-class="width-7"
checked="ctrl.panel.legend.min" checked="ctrl.panel.legend.min"
on-change="ctrl.legendValuesOptionChanged()" on-change="ctrl.legendValuesOptionChanged()"
> >
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<gf-form-switch <gf-form-switch
class="gf-form max-width-12" class="gf-form max-width-12"
label="Max" label="Max"
label-class="width-6" label-class="width-7"
switch-class="max-width-5" switch-class="max-width-5"
checked="ctrl.panel.legend.max" checked="ctrl.panel.legend.max"
on-change="ctrl.legendValuesOptionChanged()" on-change="ctrl.legendValuesOptionChanged()"
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<gf-form-switch <gf-form-switch
class="gf-form" class="gf-form"
label="Avg" label="Avg"
label-class="width-4" label-class="width-7"
checked="ctrl.panel.legend.avg" checked="ctrl.panel.legend.avg"
on-change="ctrl.legendValuesOptionChanged()" on-change="ctrl.legendValuesOptionChanged()"
> >
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<gf-form-switch <gf-form-switch
class="gf-form max-width-12" class="gf-form max-width-12"
label="Current" label="Current"
label-class="width-6" label-class="width-7"
switch-class="max-width-5" switch-class="max-width-5"
checked="ctrl.panel.legend.current" checked="ctrl.panel.legend.current"
on-change="ctrl.legendValuesOptionChanged()" on-change="ctrl.legendValuesOptionChanged()"
...@@ -90,14 +90,14 @@ ...@@ -90,14 +90,14 @@
<gf-form-switch <gf-form-switch
class="gf-form" class="gf-form"
label="Total" label="Total"
label-class="width-4" label-class="width-7"
checked="ctrl.panel.legend.total" checked="ctrl.panel.legend.total"
on-change="ctrl.legendValuesOptionChanged()" on-change="ctrl.legendValuesOptionChanged()"
> >
</gf-form-switch> </gf-form-switch>
<div class="gf-form"> <div class="gf-form">
<label class="gf-form-label width-6">Decimals</label> <label class="gf-form-label width-7">Decimals</label>
<input <input
type="number" type="number"
class="gf-form-input width-5" class="gf-form-input width-5"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment