fix: 样式优化

This commit is contained in:
dataeaseShu
2026-04-27 17:12:32 +08:00
committed by dataeaseShu
parent 288249c81f
commit 233538d097
8 changed files with 8 additions and 20 deletions

View File

@@ -464,7 +464,7 @@ const fullScreenPreview = () => {
<div class="right-area">
<el-tooltip
effect="dark"
:offset="12"
:offset="14"
:content="t('visualization.external_parameter_settings')"
placement="bottom"
>

View File

@@ -57,9 +57,12 @@ export default HeaderMenuItem
.ed-menu--popup {
min-width: 150px;
padding: 3px 0;
padding: 4px;
border-radius: 6px;
.ed-menu-item {
padding-left: 11px !important;
padding-left: 8px !important;
border-radius: 6px;
}
}

View File

@@ -776,12 +776,6 @@ strong {
transform: translateY(-8px);
}
.new-folder_tip {
.ed-popper__arrow {
transform: translate(46px, 0px) !important;
}
}
.skeleton-loading {
.ed-loading-spinner {
margin-top: 0 !important;

View File

@@ -688,9 +688,7 @@ defineExpose({
offset="14"
:content="t('work_branch.new_folder')"
placement="top"
popper-class="new-folder_tip"
effect="dark"
arrow-offset="10"
>
<el-icon
class="custom-icon btn"

View File

@@ -832,9 +832,7 @@ const proxyAllowDrop = throttle((arg1, arg2) => {
class="box-item"
effect="dark"
offset="14"
popper-class="new-folder_tip"
:content="t('deDataset.new_folder')"
arrow-offset="10"
placement="top"
>
<el-icon
@@ -848,9 +846,7 @@ const proxyAllowDrop = throttle((arg1, arg2) => {
<el-tooltip
class="box-item"
effect="dark"
popper-class="new-folder_tip"
offset="14"
arrow-offset="10"
:content="t('data_set.a_new_dataset')"
placement="top"
>

View File

@@ -1119,10 +1119,8 @@ const getMenuList = (val: boolean) => {
<span class="title"> {{ t('datasource.datasource') }} </span>
<div v-if="rootManage" class="flex-align-center">
<el-tooltip
arrow-offset="10"
offset="14"
effect="dark"
popper-class="new-folder_tip"
:content="t('deDataset.new_folder')"
placement="top"
>
@@ -1135,9 +1133,7 @@ const getMenuList = (val: boolean) => {
</el-icon>
</el-tooltip>
<el-tooltip
arrow-offset="10"
offset="14"
popper-class="new-folder_tip"
effect="dark"
:content="t('datasource.create')"
placement="top"

View File

@@ -616,7 +616,7 @@ const getEmptyDesc = (): string => {
</style>
<style lang="less">
.menu-panel-select_popper {
width: 140px;
min-width: 140px;
background: #fff;
}
</style>

View File

@@ -123,6 +123,7 @@ const templateInnerPreview = () => {
line-height: 20px;
padding: 0;
margin-top: 8px;
width: calc(50% - 6px);
& + .ed-button {
margin-left: 8px;
}