Merge pull request #4816 from dataease/pr@dev@refactor_component-board

refactor(视图): 优化边框样式,防止组件预览页面显示双框 #4813
This commit is contained in:
王嘉豪 2023-03-20 11:45:18 +08:00 committed by GitHub
commit 43286ed1a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
<template>
<div
:style="getOutStyleDefault(config.style)"
class="component"
class="component component-outer"
@click="handleClick"
@mousedown="elementMouseDown"
>
@ -345,8 +345,7 @@ export default {
.component {
position: absolute;
}
.component:hover {
.component-outer:hover {
box-shadow: 0px 0px 3px #0a7be0;
}