Commit a65c6144 by Torkel Ödegaard

minifix for spacing of question sign tooltips when html is minified

parent 4883b2a2
...@@ -11,7 +11,7 @@ function (angular, kbn) { ...@@ -11,7 +11,7 @@ function (angular, kbn) {
return { return {
restrict: 'E', restrict: 'E',
link: function(scope, elem, attrs) { link: function(scope, elem, attrs) {
var _t = '<i class="icon-'+(attrs.icon||'question-sign')+'" bs-tooltip="\''+ var _t = '<i class="grafana-tip icon-'+(attrs.icon||'question-sign')+'" bs-tooltip="\''+
kbn.addslashes(elem.text())+'\'"></i>'; kbn.addslashes(elem.text())+'\'"></i>';
elem.replaceWith($compile(angular.element(_t))(scope)); elem.replaceWith($compile(angular.element(_t))(scope));
} }
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<select class="input-mini" ng-model="panel.pointradius" ng-options="f for f in [1,2,3,4,5,6,7,8,9,10]" ng-change="render()"></select> <select class="input-mini" ng-model="panel.pointradius" ng-options="f for f in [1,2,3,4,5,6,7,8,9,10]" ng-change="render()"></select>
</div> </div>
<div class="editor-option"> <div class="editor-option">
<label class="small">Null point mode <tip>Define how null values should be drawn</tip></label> <label class="small">Null point mode<tip>Define how null values should be drawn</tip></label>
<select class="input-medium" ng-model="panel.nullPointMode" ng-options="f for f in ['connected', 'null', 'null as zero']" ng-change="render()"></select> <select class="input-medium" ng-model="panel.nullPointMode" ng-options="f for f in ['connected', 'null', 'null as zero']" ng-change="render()"></select>
</div> </div>
<div class="editor-option"> <div class="editor-option">
......
...@@ -504,3 +504,7 @@ select.grafana-target-segment-input { ...@@ -504,3 +504,7 @@ select.grafana-target-segment-input {
margin-top: 5px; margin-top: 5px;
} }
} }
.grafana-tip {
padding-left: 5px;
}
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
// Graphite Target Editor // Graphite Target Editor
@grafanaTargetBorder: @black; @grafanaTargetBorder: @black;
@grafanaTargetBackground: @grayDark; @grafana-info-box grafanaTargetBackground: @grayDark;
@grafanaTargetColor: #c8c8c8; @grafanaTargetColor: #c8c8c8;
@grafanaTargetColorHide: darken(#c8c8c8, 25%); @grafanaTargetColorHide: darken(#c8c8c8, 25%);
@grafanaTargetSegmentBorder: #050505; @grafanaTargetSegmentBorder: #050505;
......
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