Commit ef8b8d5f authored by Marco Sehrer's avatar Marco Sehrer
Browse files

Merge pull request #216 from ninjaconcept/210-fix-reaction-svg

fix 210 reaction svg
parents c8c0b065 36425afd
......@@ -20,7 +20,7 @@ class ElementContainer extends Component {
render() {
const {connectDragSource, sourceType} = this.props;
if(sourceType == "") {
return <span style={{fontSize: '18pt', cursor: 'not-allowed'}} className='text-muted fa fa-arrows'></span>;
return <span style={{fontSize: '18pt', cursor: 'not-allowed', color: 'lightgray'}} className='fa fa-arrows'></span>;
} else {
return connectDragSource(
<span style={{fontSize: '18pt', cursor: 'move'}} className='text-info fa fa-arrows'></span>,
......
......@@ -57,7 +57,9 @@ export default class ElementsTableEntries extends Component {
'molecule': element.type == 'sample'
}, {
'molecule-selected': element.type == 'sample' && this.isElementSelected(element)
});
}, {
'reaction-selected': element.type == 'reaction' && this.isElementSelected(element)
});
let svgContainer = {
verticalAlign: 'middle',
textAlign: 'center'
......
......@@ -34,3 +34,8 @@
stroke: white;
fill: white;
}
.reaction-selected line, .reaction-selected text, .reaction-selected polygon {
stroke: white;
fill: white;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment