fix(graph): legend height calculation now takes into account series hidden from legend, fixes #4245

This commit is contained in:
Torkel Ödegaard
2016-03-04 11:16:15 +01:00
parent 35fc5007c8
commit 4b08f3909d
6 changed files with 41 additions and 27 deletions

View File

@@ -39,6 +39,7 @@
.graph-legend-icon,
.graph-legend-alias,
.graph-legend-value {
cursor: pointer;
float: left;
white-space: nowrap;
font-size: 85%;
@@ -79,7 +80,7 @@
.graph-legend-table {
width: 100%;
margin: 0;
margin-top: 4px;
.graph-legend-series {
display: table-row;
@@ -174,7 +175,8 @@
}
.graph-legend-series-hidden {
a {
.graph-legend-value,
.graph-legend-alias {
color: $link-color-disabled;
}
}