样式优化
This commit is contained in:
parent
e282818a7c
commit
8ba7a9d91c
|
@ -6,7 +6,6 @@
|
|||
:style="{ zIndex: elementIndex }"
|
||||
>
|
||||
<component
|
||||
:id="`editable-element-${elementInfo.id}`"
|
||||
:is="currentElementComponent"
|
||||
:elementInfo="elementInfo"
|
||||
:selectElement="selectElement"
|
||||
|
|
|
@ -18,5 +18,10 @@ export default {
|
|||
border: 1px solid $themeColor;
|
||||
background-color: #fff;
|
||||
border-radius: 1px;
|
||||
cursor: grab;
|
||||
|
||||
&:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -187,5 +187,10 @@ export default defineComponent({
|
|||
font-size: 12px;
|
||||
color: #999;
|
||||
width: 20px;
|
||||
cursor: grab;
|
||||
|
||||
&:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -251,6 +251,11 @@ export default defineComponent({
|
|||
padding: 6px;
|
||||
border-radius: $borderRadius;
|
||||
margin-bottom: 8px;
|
||||
cursor: grab;
|
||||
|
||||
&:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
&.active {
|
||||
border-color: $themeColor;
|
||||
|
|
Loading…
Reference in New Issue