Skip to content

Commit f1f241f

Browse files
committed
dont color root
1 parent 51bed7c commit f1f241f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

singularity/views/templates/container_tree.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ <h3>Files</h3>
236236
link.enter().insert("path", "g")
237237
.attr("style", function(d) {
238238
console.log(d);
239+
if (d.target.id==1) {
240+
return "stroke:#ccc";
241+
}
239242
if (d.target.labels=='added') {
240243
return "stroke:#469e30";
241244
}

0 commit comments

Comments
 (0)