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
e1a527a8
Commit
e1a527a8
authored
Dec 19, 2017
by
Johannes Schill
Committed by
Torkel Ödegaard
Dec 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: Fix color picker positioning when scrolled down to the bottom of a page (#10258) (#10271)
parent
dd2192cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
public/app/core/services/popover_srv.ts
+2
-1
public/app/plugins/panel/graph/legend.ts
+2
-1
No files found.
public/app/core/services/popover_srv.ts
View file @
e1a527a8
...
...
@@ -57,7 +57,7 @@ function popoverSrv($compile, $rootScope, $timeout) {
openOn
:
options
.
openOn
,
hoverCloseDelay
:
200
,
tetherOptions
:
{
constraints
:
[{
to
:
'scrollParent'
,
attachment
:
"none both"
}]
constraints
:
[{
to
:
'scrollParent'
,
attachment
:
'together'
}]
}
});
...
...
@@ -79,3 +79,4 @@ function popoverSrv($compile, $rootScope, $timeout) {
}
coreModule
.
service
(
'popoverSrv'
,
popoverSrv
);
public/app/plugins/panel/graph/legend.ts
View file @
e1a527a8
...
...
@@ -53,7 +53,8 @@ module.directive('graphLegend', function(popoverSrv, $timeout) {
$timeout
(
function
()
{
popoverSrv
.
show
({
element
:
el
[
0
],
position
:
'bottom center'
,
position
:
'bottom left'
,
targetAttachment
:
'top left'
,
template
:
'<series-color-picker series="series" onToggleAxis="toggleAxis" onColorChange="colorSelected">'
+
'</series-color-picker>'
,
openOn
:
'hover'
,
...
...
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