WIP tweak styles

pull/10616/head
Andrew Watkins 2017-06-28 10:45:22 -07:00
parent 1c31a98642
commit 829a600c6e
3 changed files with 4 additions and 3 deletions

View File

@ -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"/>'

View File

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

View File

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