X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3e3389504c6841e160ac086328693001261e016d..e4fca76d5db9bd844530454894d07ddc729b4a9a:/apps/workbench/app/views/application/_svg_div.html.erb diff --git a/apps/workbench/app/views/application/_svg_div.html.erb b/apps/workbench/app/views/application/_svg_div.html.erb index 4587534801..8a417d9e0e 100644 --- a/apps/workbench/app/views/application/_svg_div.html.erb +++ b/apps/workbench/app/views/application/_svg_div.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <%= content_for :css do %> /* Need separate style for each instance of svg div because javascript will manipulate the properties. */ #<%= divId %> { @@ -6,8 +10,9 @@ border: solid; border-width: 1px; border-color: gray; - left: 1px; - right: 1px; + position: absolute; + left: 25px; + right: 25px; } path:hover { stroke-width: 5; @@ -23,7 +28,7 @@ stroke-linecap: round; }); <% end %> -
+
@@ -33,5 +38,4 @@ stroke-linecap: round; <%= raw(svg) %>
-