mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(graph): fixed issue with graph legend when in table mode and series on righ-y axis, also fixed so that you can see what series are on right-y axis when legend is in table mode, fixes #4551, fixes #1145
This commit is contained in:
@@ -74,6 +74,10 @@
|
||||
float: left;
|
||||
white-space: nowrap;
|
||||
padding-left: 10px;
|
||||
|
||||
&--right-y {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.graph-legend-value {
|
||||
@@ -83,14 +87,22 @@
|
||||
.graph-legend-table {
|
||||
overflow-y: scroll;
|
||||
|
||||
.graph-legend-series { display: table-row;
|
||||
.graph-legend-series {
|
||||
display: table-row;
|
||||
float: none;
|
||||
padding-left: 0;
|
||||
&.pull-right {
|
||||
&--right-y {
|
||||
float: none;
|
||||
|
||||
.graph-legend-alias:after {
|
||||
content: '(right-y)';
|
||||
padding: 0 5px;
|
||||
color: $text-color-weak;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
td, .graph-legend-alias, .graph-legend-icon, .graph-legend-value {
|
||||
float: none;
|
||||
display: table-cell;
|
||||
|
Reference in New Issue
Block a user