Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e86207bb
Commit
e86207bb
authored
Oct 08, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed default panel title when creating new panel, tweaks to panel height calculation, Closes #910
parent
75d60ccb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
src/app/controllers/row.js
+1
-0
src/app/directives/grafanaGraph.js
+1
-1
src/css/less/panel.less
+1
-1
No files found.
src/app/controllers/row.js
View file @
e86207bb
...
...
@@ -103,6 +103,7 @@ function (angular, app, _) {
var
_as
=
12
-
$scope
.
dashboard
.
rowSpan
(
$scope
.
row
);
$scope
.
panel
=
{
title
:
'no title [click here]'
,
error
:
false
,
span
:
_as
<
defaultSpan
&&
_as
>
0
?
_as
:
defaultSpan
,
editable
:
true
,
...
...
src/app/directives/grafanaGraph.js
View file @
e86207bb
...
...
@@ -68,7 +68,7 @@ function (angular, $, kbn, moment, _, GraphTooltip) {
height
=
parseInt
(
height
.
replace
(
'px'
,
''
),
10
);
}
height
=
height
-
32
;
// subtract panel title bar
height
-=
scope
.
panel
.
title
?
24
:
9
;
// subtract panel title bar
if
(
scope
.
panel
.
legend
.
show
&&
!
scope
.
panel
.
legend
.
rightSide
)
{
height
=
height
-
21
;
// subtract one line legend
...
...
src/css/less/panel.less
View file @
e86207bb
...
...
@@ -17,6 +17,7 @@
.panel-title-container {
min-height: 5px;
padding-top: 4px;
cursor: context-menu;
}
...
...
@@ -24,7 +25,6 @@
border: 0px;
font-weight: bold;
position: relative;
font-size: 0.9em;
cursor: context-menu;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment