WIP tweak styles
parent
1c31a98642
commit
829a600c6e
|
@ -130,6 +130,7 @@ export default class Dygraph extends Component {
|
|||
|
||||
if (legend.x !== dygraphComponent.state.legend.x) {
|
||||
dygraphComponent.setState({legend})
|
||||
return '<div style="display:none"/>'
|
||||
}
|
||||
|
||||
return '<div style="display:none"/>'
|
||||
|
|
|
@ -22,7 +22,9 @@ const DygraphLegend = ({series, onSort}) => (
|
|||
return (
|
||||
<span key={label + color}>
|
||||
<b>
|
||||
<span style={{color}}>
|
||||
<span
|
||||
style={{color, fontWeight: isHighlighted ? 'bold' : 'normal'}}
|
||||
>
|
||||
{label}: {yHTML}
|
||||
</span>
|
||||
</b>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
.graph-vertical-marker {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
|
@ -22,7 +21,6 @@
|
|||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='fade-out($g20-white, 0.71)', endColorstr='fade-out($g20-white, 0.71)',GradientType=0 );
|
||||
}
|
||||
.container--dygraph-legend {
|
||||
transform: translateX(-50%);
|
||||
background-color: $g0-obsidian;
|
||||
display: block !important;
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in New Issue