From a65c61442ede3d656c3ef648538e89730670a6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 11 Sep 2014 14:01:37 +0200 Subject: [PATCH] minifix for spacing of question sign tooltips when html is minified --- src/app/directives/tip.js | 4 ++-- src/app/panels/graph/styleEditor.html | 2 +- src/css/less/grafana.less | 4 ++++ src/css/less/variables.dark.less | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/directives/tip.js b/src/app/directives/tip.js index 975a4c02228..974ed98a637 100644 --- a/src/app/directives/tip.js +++ b/src/app/directives/tip.js @@ -11,10 +11,10 @@ function (angular, kbn) { return { restrict: 'E', link: function(scope, elem, attrs) { - var _t = ''; elem.replaceWith($compile(angular.element(_t))(scope)); } }; }); -}); \ No newline at end of file +}); diff --git a/src/app/panels/graph/styleEditor.html b/src/app/panels/graph/styleEditor.html index b8c80473ebd..cd83f23f197 100644 --- a/src/app/panels/graph/styleEditor.html +++ b/src/app/panels/graph/styleEditor.html @@ -27,7 +27,7 @@
- +
diff --git a/src/css/less/grafana.less b/src/css/less/grafana.less index 7c17e6967db..3e52b7fc94c 100644 --- a/src/css/less/grafana.less +++ b/src/css/less/grafana.less @@ -504,3 +504,7 @@ select.grafana-target-segment-input { margin-top: 5px; } } + +.grafana-tip { + padding-left: 5px; +} diff --git a/src/css/less/variables.dark.less b/src/css/less/variables.dark.less index 608dfb609b0..f3817ef454d 100644 --- a/src/css/less/variables.dark.less +++ b/src/css/less/variables.dark.less @@ -35,7 +35,7 @@ // Graphite Target Editor @grafanaTargetBorder: @black; -@grafanaTargetBackground: @grayDark; +@grafana-info-box grafanaTargetBackground: @grayDark; @grafanaTargetColor: #c8c8c8; @grafanaTargetColorHide: darken(#c8c8c8, 25%); @grafanaTargetSegmentBorder: #050505;