Small tweaks

This commit is contained in:
Torkel Ödegaard 2014-11-18 16:58:26 +01:00
parent a9d7823186
commit 0c6618d2f6
4 changed files with 5 additions and 5 deletions

View File

@ -107,7 +107,7 @@ function (angular, app, _) {
var _as = 12 - $scope.dashboard.rowSpan($scope.row); var _as = 12 - $scope.dashboard.rowSpan($scope.row);
$scope.panel = { $scope.panel = {
title: 'no title [click here]', title: 'no title (click here)',
error : false, error : false,
span : _as < defaultSpan && _as > 0 ? _as : defaultSpan, span : _as < defaultSpan && _as > 0 ? _as : defaultSpan,
editable: true, editable: true,

View File

@ -4,7 +4,9 @@
<div class="graph-canvas-wrapper"> <div class="graph-canvas-wrapper">
<div ng-if="datapointsWarning" class="datapoints-warning"> <div ng-if="datapointsWarning" class="datapoints-warning">
<span class="small" ng-show="!datapointsCount">No datapoints <tip>Can be caused by timezone mismatch between browser and graphite server</tip></span> <span class="small" ng-show="!datapointsCount">
No datapoints <tip>No datapoints returned from metric query</tip>
</span>
<span class="small" ng-show="datapointsOutside">Datapoints outside time range <tip>Can be caused by timezone mismatch between browser and graphite server</tip></span> <span class="small" ng-show="datapointsOutside">Datapoints outside time range <tip>Can be caused by timezone mismatch between browser and graphite server</tip></span>
</div> </div>

View File

@ -439,8 +439,6 @@ select.grafana-target-segment-input {
line-height: 14px; line-height: 14px;
} }
.grafana-tooltip hr { .grafana-tooltip hr {
padding: 2px; padding: 2px;
color: #c8c8c8; color: #c8c8c8;

View File

@ -277,7 +277,7 @@
// Tooltips and popovers // Tooltips and popovers
// ------------------------- // -------------------------
@tooltipColor: #fff; @tooltipColor: #fff;
@tooltipBackground: @heroUnitBackground; @tooltipBackground: rgb(58, 57, 57);
@tooltipArrowWidth: 5px; @tooltipArrowWidth: 5px;
@tooltipArrowColor: @tooltipBackground; @tooltipArrowColor: @tooltipBackground;