mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Singlestat: changed singlestat title to centered position, Closes #1117
This commit is contained in:
parent
e109f8d69c
commit
e933369f56
@ -5,7 +5,6 @@ function () {
|
||||
|
||||
function PanelMeta(options) {
|
||||
this.description = options.description;
|
||||
this.titlePos = options.titlePos;
|
||||
this.fullscreen = options.fullscreen;
|
||||
this.menu = [];
|
||||
this.editorTabs = [];
|
||||
|
@ -147,11 +147,6 @@ function (angular, $, _) {
|
||||
dismiss(2200);
|
||||
};
|
||||
|
||||
if ($scope.panelMeta.titlePos && $scope.panel.title) {
|
||||
elem.css('text-align', 'left');
|
||||
$link.css('padding-left', '10px');
|
||||
}
|
||||
|
||||
elem.click(showMenu);
|
||||
$compile(elem.contents())($scope);
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ function (angular, app, _, TimeSeries, kbn, PanelMeta) {
|
||||
|
||||
$scope.panelMeta = new PanelMeta({
|
||||
description: 'Singlestat panel',
|
||||
titlePos: 'left',
|
||||
fullscreen: true,
|
||||
metricsEditor: true
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user