Legend cannot be obscured by neighboring graphs in host view
parent
56c0f85996
commit
c00d0c3364
|
@ -18,9 +18,11 @@
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='fade-out($g20-white, 0.71)', endColorstr='fade-out($g20-white, 0.71)',GradientType=0 );
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='fade-out($g20-white, 0.71)', endColorstr='fade-out($g20-white, 0.71)',GradientType=0 );
|
||||||
}
|
}
|
||||||
.container--dygraph-legend {
|
.container--dygraph-legend {
|
||||||
|
top: 300px !important;
|
||||||
|
transform: translateY(-6px);
|
||||||
background-color: $g1-raven;
|
background-color: $g1-raven;
|
||||||
display: block;
|
display: block;
|
||||||
position: fixed;
|
position: absolute;
|
||||||
padding: 11px;
|
padding: 11px;
|
||||||
z-index: 500;
|
z-index: 500;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|
|
@ -247,3 +247,10 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hacky way to ensure that legends cannot be obscured by neighboring graphs */
|
||||||
|
.react-grid-item {
|
||||||
|
&:hover {
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue