chore: 优化拖拽锚点

This commit is contained in:
奔跑的面条 2022-06-11 15:09:42 +08:00
parent 58fee4a86f
commit 3c221345dd

View File

@ -71,11 +71,14 @@ const select = computed(() => {
border-radius: 5px; border-radius: 5px;
background-color: #fff; background-color: #fff;
transform: translate(-40%, -30%); transform: translate(-40%, -30%);
&.t, &.t {
&.b {
width: 30px; width: 30px;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
&.b {
width: 30px;
transform: translate(-50%, -30%);
}
&.l, &.l,
&.r { &.r {
height: 30px; height: 30px;