colony icon indicating copy to clipboard operation
colony copied to clipboard

can't see edges

Open mixmix opened this issue 10 years ago • 3 comments

running standard setup, this is what I see of the network : selection_047

$ colony index.js -m && serve colony

seems like the connecting lines have a style which is opacity 0.3 not sure if there's a command i'm missing

love the package, great to use

mixmix avatar Jan 09 '15 07:01 mixmix

Same problem. Also, the lines don't seem to have a stroke and therefore won't show. It should be easy to fix by someone familiar with the project.

This hack in the console helps a bit:

var links = document.getElementsByClassName('link'); for(var i = 0; i < links.length; i++) { var link = links[i]; link.setAttribute('stroke', 'white'); link.setAttribute('style', 'opacity: 1'); }

killroy42 avatar Jan 10 '15 11:01 killroy42

nice :) I just did something similar by editing the colony.js then copying that over the minified js that was being served.

On 11 January 2015 at 00:37, Sven Neumann [email protected] wrote:

Same problem. Also, the lines don't seem to have a stroke and therefore won't show. It should be easy to fix by someone familiar with the project.

This hack in the console helps a bit:

var links = document.getElementsByClassName('link'); for(var i = 0; i < links.length; i++) { var link = links[i]; link.setAttribute('stroke', 'white'); link.setAttribute('style', 'opacity: 1'); }

— Reply to this email directly or view it on GitHub https://github.com/hughsk/colony/issues/9#issuecomment-69452876.

mixmix avatar Jan 11 '15 08:01 mixmix

Hi, had the same problem, my solution was adding the following style to 'node_modules/colony/public/css/colony.css' and rebuild the colony page of course :)

.link { stroke:white; }

buddh4 avatar Sep 24 '15 14:09 buddh4