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
db9949d4
Commit
db9949d4
authored
Apr 07, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #291, row height correction bug fixed
parent
f36d9133
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
src/app/controllers/row.js
+9
-4
No files found.
src/app/controllers/row.js
View file @
db9949d4
...
@@ -125,12 +125,17 @@ function (angular, app, _) {
...
@@ -125,12 +125,17 @@ function (angular, app, _) {
type
:
type
type
:
type
};
};
if
(
!
$scope
.
row
.
height
)
{
function
fixRowHeight
(
height
)
{
$scope
.
row
.
height
=
"200px"
;
if
(
!
height
)
{
return
'200px'
;
}
}
else
if
(
$scope
.
row
.
height
.
indexOf
(
'px'
)
===
-
1
)
{
if
(
!
_
.
isString
(
height
)
)
{
$scope
.
row
.
height
=
$scope
.
row
.
height
+
'px'
;
return
height
+
'px'
;
}
}
return
height
;
}
$scope
.
row
.
height
=
fixRowHeight
(
$scope
.
row
.
height
);
};
};
/** @scratch /panels/2
/** @scratch /panels/2
...
...
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