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
295fefb2
Commit
295fefb2
authored
Nov 19, 2018
by
Johannes Schill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tooltip should be able to take up space when used on an absolute positioned element
parent
5d1c5502
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderCorner.tsx
+2
-2
public/sass/components/_popper.scss
+4
-0
No files found.
public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderCorner.tsx
View file @
295fefb2
...
...
@@ -43,7 +43,7 @@ export class PanelHeaderCorner extends PureComponent<Props> {
<
div
dangerouslySetInnerHTML=
{
{
__html
:
remarkableInterpolatedMarkdown
}
}
/>
{
panel
.
links
&&
panel
.
links
.
length
>
0
&&
(
<
ul
>
<
ul
className=
"text-left"
>
{
panel
.
links
.
map
((
link
,
idx
)
=>
{
const
info
=
linkSrv
.
getPanelLinkAnchorInfo
(
link
,
panel
.
scopedVars
);
return
(
...
...
@@ -74,7 +74,7 @@ export class PanelHeaderCorner extends PureComponent<Props> {
{
infoMode
===
InfoModes
.
Info
||
infoMode
===
InfoModes
.
Links
?
(
<
Tooltip
content=
{
this
.
getInfoContent
}
className=
"
absolute
"
className=
"
popper__manager--block
"
refClassName=
{
`panel-info-corner panel-info-corner--${infoMode.toLowerCase()}`
}
>
<
i
className=
"fa"
/>
...
...
public/sass/components/_popper.scss
View file @
295fefb2
...
...
@@ -88,3 +88,7 @@
.popper__manager
{
display
:
inline-block
;
}
.popper__manager--block
{
display
:
block
;
}
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