Commit fb371d67 authored by leon's avatar leon

fix: details tab issue

parent 7fb6e7c0
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
:style="{ :style="{
width: `${element.width * scale}px`, width: `${element.width * scale}px`,
height: `${element.height * scale}px`, height: `${element.height * scale}px`,
transform: `translate(${element.left * scale}px, ${element.top * scale}px)`, left: `${element.left * scale}px`,
top: `${element.top * scale}px`,
zIndex: index + 1 zIndex: index + 1
}" }"
> >
...@@ -222,11 +223,6 @@ ...@@ -222,11 +223,6 @@
} }
.view-element { .view-element {
position: absolute; position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
will-change: transform;
user-select: none; user-select: none;
cursor: move; cursor: move;
} }
......
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