Commit 959b2059 authored by Lukas Pravda's avatar Lukas Pravda
Browse files

change position of interaction node labels

parent 1c13f383
Pipeline #104017 passed with stages
in 1 minute and 19 seconds
...@@ -624,7 +624,7 @@ class Visualization { ...@@ -624,7 +624,7 @@ class Visualization {
for (let i = 0; i < labels.length; i++) { for (let i = 0; i < labels.length; i++) {
d3.select(this) d3.select(this)
.append('tspan') .append('tspan')
.attr('dy', (i * 20) - 4) .attr('dy', (i * 30) - 10)
.attr('x', 0) .attr('x', 0)
.text(labels[i]); .text(labels[i]);
} }
......
...@@ -97,13 +97,13 @@ ...@@ -97,13 +97,13 @@
.pdb-lig-env-svg-node text tspan:first-child { .pdb-lig-env-svg-node text tspan:first-child {
cursor: inherit; cursor: inherit;
font-weight: 100; font-weight: 100;
font-size: 1.1em; font-size: 1.3em;
} }
.pdb-lig-env-svg-node text tspan:nth-child(2) { .pdb-lig-env-svg-node text tspan:nth-child(2) {
cursor: inherit; cursor: inherit;
font-weight: lighter; font-weight: lighter;
font-size: 0.8em; font-size: 1.3em;
} }
.pdb-lig-env-svg-ligand-res { .pdb-lig-env-svg-ligand-res {
......
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