mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
minifix for spacing of question sign tooltips when html is minified
This commit is contained in:
parent
4883b2a296
commit
a65c61442e
@ -11,10 +11,10 @@ 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 @@
|
|||||||
<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 {
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.grafana-tip {
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user