样式优化

This commit is contained in:
pipipi-pikachu 2021-01-22 10:56:37 +08:00
parent e282818a7c
commit 8ba7a9d91c
4 changed files with 15 additions and 1 deletions

View File

@ -6,7 +6,6 @@
:style="{ zIndex: elementIndex }"
>
<component
:id="`editable-element-${elementInfo.id}`"
:is="currentElementComponent"
:elementInfo="elementInfo"
:selectElement="selectElement"

View File

@ -18,5 +18,10 @@ export default {
border: 1px solid $themeColor;
background-color: #fff;
border-radius: 1px;
cursor: grab;
&:active {
cursor: grabbing;
}
}
</style>

View File

@ -187,5 +187,10 @@ export default defineComponent({
font-size: 12px;
color: #999;
width: 20px;
cursor: grab;
&:active {
cursor: grabbing;
}
}
</style>

View File

@ -251,6 +251,11 @@ export default defineComponent({
padding: 6px;
border-radius: $borderRadius;
margin-bottom: 8px;
cursor: grab;
&:active {
cursor: grabbing;
}
&.active {
border-color: $themeColor;