fix: 样式优化

This commit is contained in:
dataeaseShu 2024-12-31 16:40:53 +08:00 committed by fit2cloud-chenyw
parent debe1ad6f9
commit 2142eb9f0b

View File

@ -3103,7 +3103,7 @@ const deleteChartFieldItem = id => {
:class="{ 'tree-btn--dark': themes === 'dark', active: isFilterActive }" :class="{ 'tree-btn--dark': themes === 'dark', active: isFilterActive }"
@click="openTreeFilter" @click="openTreeFilter"
> >
<el-icon style="margin-right: 6px; font-size: 14px"> <el-icon style="margin-right: 2px; font-size: 12px">
<Icon class="svg-background" name="icon-filter" <Icon class="svg-background" name="icon-filter"
><iconFilter class="svg-icon svg-background" ><iconFilter class="svg-icon svg-background"
/></Icon> /></Icon>
@ -3113,7 +3113,7 @@ const deleteChartFieldItem = id => {
</div> </div>
<el-button <el-button
v-else v-else
style="width: 100%; margin-top: 8px" class="tree-btn_secondary"
secondary secondary
@click="openTreeFilter" @click="openTreeFilter"
> >
@ -4651,7 +4651,7 @@ span {
width: 100%; width: 100%;
margin-top: 8px; margin-top: 8px;
background: #fff; background: #fff;
height: 32px; height: 28px;
border-radius: 4px; border-radius: 4px;
border: 1px solid #dcdfe6; border: 1px solid #dcdfe6;
display: flex; display: flex;
@ -4671,6 +4671,18 @@ span {
} }
} }
:deep(.tree-btn_secondary) {
width: 100%;
margin-top: 8px;
line-height: 28px;
height: 28px;
font-size: 12px;
& > [class*='ed-icon'] + span {
margin-left: 2px !important;
}
}
&.no-top-border { &.no-top-border {
border-top: none !important; border-top: none !important;
} }