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
a6a08038
Unverified
Commit
a6a08038
authored
Apr 03, 2018
by
Daniel Lee
Committed by
GitHub
Apr 03, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11416 from grafana/ie11_graphpanel_edit
Graphpanel Edit fix for IE11
parents
1a6c6322
a3f15ced
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
public/app/plugins/panel/graph/legend.ts
+4
-1
public/sass/pages/_dashboard.scss
+1
-1
No files found.
public/app/plugins/panel/graph/legend.ts
View file @
a6a08038
...
...
@@ -131,8 +131,11 @@ module.directive('graphLegend', function(popoverSrv, $timeout) {
elem
.
empty
();
// Set min-width if side style and there is a value, otherwise remove the CSS propery
var
width
=
panel
.
legend
.
rightSide
&&
panel
.
legend
.
sideWidth
?
panel
.
legend
.
sideWidth
+
'px'
:
''
;
// Set width so it works with IE11
var
width
:
any
=
panel
.
legend
.
rightSide
&&
panel
.
legend
.
sideWidth
?
panel
.
legend
.
sideWidth
+
'px'
:
''
;
var
ieWidth
:
any
=
panel
.
legend
.
rightSide
&&
panel
.
legend
.
sideWidth
?
panel
.
legend
.
sideWidth
-
1
+
'px'
:
''
;
elem
.
css
(
'min-width'
,
width
);
elem
.
css
(
'width'
,
ieWidth
);
elem
.
toggleClass
(
'graph-legend-table'
,
panel
.
legend
.
alignAsTable
===
true
);
...
...
public/sass/pages/_dashboard.scss
View file @
a6a08038
...
...
@@ -33,7 +33,7 @@ div.flot-text {
border
:
$panel-border
;
position
:
relative
;
border-radius
:
3px
;
height
:
100%
;
//
height: 100%;
&
.panel-transparent
{
background-color
:
transparent
;
...
...
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