Merge pull request #6773 from dataease/pr@dev-v2@style_preview

style: 优化预览页按钮样式
This commit is contained in:
王嘉豪 2023-11-21 10:51:28 +08:00 committed by GitHub
commit 219b46e08a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ watch(
:weight="dvInfo.weight"
:resource-type="dvInfo.type"
/>
<el-button v-if="dvInfo.weight > 6" type="primary" @click="dvEdit()">
<el-button class="custom-button" v-if="dvInfo.weight > 6" type="primary" @click="dvEdit()">
<template #icon>
<icon name="icon_edit_outlined"></icon>
</template>
@ -176,4 +176,8 @@ watch(
font-size: 16px;
color: #646a73;
}
.custom-button {
margin-left: 12px;
}
</style>