forked from github/dataease
fix: 修复仪表板内组件移动时没有对齐标线问题
This commit is contained in:
parent
2b18d64c7c
commit
76cce15c53
@ -9,6 +9,7 @@
|
|||||||
[classNameResizable]: resizable,
|
[classNameResizable]: resizable,
|
||||||
[classNameRotating]: rotating,
|
[classNameRotating]: rotating,
|
||||||
[classNameRotatable]: rotatable,
|
[classNameRotatable]: rotatable,
|
||||||
|
[classNameActive]: enabled ,
|
||||||
['linkageSetting']:linkageActive,
|
['linkageSetting']:linkageActive,
|
||||||
['positionChange']:!(dragging || resizing||rotating)
|
['positionChange']:!(dragging || resizing||rotating)
|
||||||
},
|
},
|
||||||
@ -22,7 +23,7 @@
|
|||||||
<div
|
<div
|
||||||
:class="[
|
:class="[
|
||||||
{
|
{
|
||||||
[classNameActive]: enabled ,
|
['de-drag-active-inner']:enabled,
|
||||||
[classNameMouseOn]: mouseOn || active
|
[classNameMouseOn]: mouseOn || active
|
||||||
},
|
},
|
||||||
className
|
className
|
||||||
@ -1809,7 +1810,10 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.de-drag-active{
|
.de-drag-active{
|
||||||
outline: 1px solid #70c0ff;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.de-drag-active-inner{
|
||||||
|
outline: 1px solid #70c0ff;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1567,12 +1567,6 @@ export default {
|
|||||||
padding:3px;
|
padding:3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 拖拽组件样式
|
|
||||||
|
|
||||||
.de-drag-active{
|
|
||||||
outline: 1px solid #70c0ff;
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ref-line {
|
.ref-line {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
Reference in New Issue
Block a user