Skip to content
Snippets Groups Projects
Commit 84a7c71b authored by Matthias Konitzny's avatar Matthias Konitzny :fire:
Browse files

Slight code improvements to style sheet changes.

parent 6421c8f4
No related branches found
No related tags found
No related merge requests found
...@@ -33,12 +33,8 @@ class LinkOverlay { ...@@ -33,12 +33,8 @@ class LinkOverlay {
const colorStrip = document.createElement("div"); const colorStrip = document.createElement("div");
colorStrip.className = "rel-container"; colorStrip.className = "rel-container";
colorStrip.style = colorStrip.style.backgroundColor = this.graph.edgeColors[link];
"background-color: " + colorStrip.style.width = 10 * chars + "px";
this.graph.edgeColors[link] +
"; width: " +
10 * chars +
"px;";
relation.appendChild(colorStrip); relation.appendChild(colorStrip);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment