1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-08-23 03:19:44 +08:00

更改Hover效果以及元素标签位置

This commit is contained in:
shangbin 2021-09-15 10:38:26 +08:00
parent aeef95329f
commit 7795d52f95

View File

@ -225,7 +225,7 @@ export default {
this.mainPanelProvider.undo(); this.mainPanelProvider.undo();
}, },
saveJSCode(code){ saveJSCode(code) {
this.mainPanelProvider.saveJSCode(code); this.mainPanelProvider.saveJSCode(code);
} }
}, },
@ -371,6 +371,7 @@ export default {
.mark-element-unit { .mark-element-unit {
opacity: 0.5; opacity: 0.5;
outline: red 2px solid;
} }
</style> </style>
@ -397,6 +398,7 @@ export default {
color: white; color: white;
left: 0 !important; left: 0 !important;
top: 0 !important; top: 0 !important;
transform: translateY(-100%);
position: absolute; position: absolute;
font-size: 12px; font-size: 12px;
line-height: 12px; line-height: 12px;