mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
table-panel: clickable cell link - draft (#8738)
* table-panel: clickable cell link - draft * table-panel: clickable cell link - fix link target option * table-panel: fix undefined columnStyle.link * table-panel: option to highlight cell with link * table-panel: render variables for all cells in row * table-panel: remove cell highlighting * table-panel: add help for URL field * linkPopover directive for link info in table panel * table-panel: add link info popover to cells * table-panel: use native popover instead directive * table-panel: link drop refactor, remove unused code * table-panel: fix unclickable link when drop is opened * refactoring: minor refactoring to #8738, do not think we need a full blown popover for the links, simple tooltip is enough and more efficient, sadly we do not have a modern tooltip framework, still using old bootstrap 2.3 tooltip * table-panel: add tests for link rendering
This commit is contained in:
committed by
Torkel Ödegaard
parent
13c966c178
commit
9bbc942534
@@ -76,6 +76,21 @@
|
||||
&.table-panel-cell-pre {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
&.table-panel-cell-link {
|
||||
// Expand internal div to cell size (make all cell clickable)
|
||||
padding: 0;
|
||||
|
||||
a {
|
||||
padding: 0.45em 0 0.45em 1.1em;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&.cell-highlighted:hover {
|
||||
background-color: $tight-form-func-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user