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:
Torkel Ödegaard
2016-04-04 13:13:25 -04:00
parent f35eb0f148
commit 542e080f0a
4 changed files with 16 additions and 9 deletions

View File

@@ -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;