Browse Source

fix: block path misaligned when zoom the page

Ahmad Kholid 3 years ago
parent
commit
1fd5210248
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/assets/css/drawflow.css

+ 0 - 2
src/assets/css/drawflow.css

@@ -87,14 +87,12 @@
 
 
 .drawflow .connection {
 .drawflow .connection {
   position: absolute;
   position: absolute;
-  transform: translate(9999px, 9999px)
 }
 }
 
 
 .drawflow .connection .main-path {
 .drawflow .connection .main-path {
   fill: none;
   fill: none;
   stroke-width: 5px;
   stroke-width: 5px;
   stroke: theme('colors.accent');
   stroke: theme('colors.accent');
-  transform: translate(-9999px, -9999px);
   transition: stroke 100ms ease-in-out;
   transition: stroke 100ms ease-in-out;
 }
 }