Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pdbe
web-components
pdb-ligand-env
Commits
959b2059
Commit
959b2059
authored
Oct 20, 2020
by
Lukas Pravda
Browse files
change position of interaction node labels
parent
1c13f383
Pipeline
#104017
passed with stages
in 1 minute and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/plugin/manager.ts
src/plugin/manager.ts
+1
-1
src/styles/pdb-ligand-env-svg.css
src/styles/pdb-ligand-env-svg.css
+2
-2
No files found.
src/plugin/manager.ts
View file @
959b2059
...
...
@@ -624,7 +624,7 @@ class Visualization {
for
(
let
i
=
0
;
i
<
labels
.
length
;
i
++
)
{
d3
.
select
(
this
)
.
append
(
'
tspan
'
)
.
attr
(
'
dy
'
,
(
i
*
2
0
)
-
4
)
.
attr
(
'
dy
'
,
(
i
*
3
0
)
-
10
)
.
attr
(
'
x
'
,
0
)
.
text
(
labels
[
i
]);
}
...
...
src/styles/pdb-ligand-env-svg.css
View file @
959b2059
...
...
@@ -97,13 +97,13 @@
.pdb-lig-env-svg-node
text
tspan
:first-child
{
cursor
:
inherit
;
font-weight
:
100
;
font-size
:
1.
1
em
;
font-size
:
1.
3
em
;
}
.pdb-lig-env-svg-node
text
tspan
:nth-child
(
2
)
{
cursor
:
inherit
;
font-weight
:
lighter
;
font-size
:
0.8
em
;
font-size
:
1.3
em
;
}
.pdb-lig-env-svg-ligand-res
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment