style(仪表板): 编辑区样式调整

This commit is contained in:
wangjiahao 2024-03-26 10:21:02 +08:00
parent 1fd19daced
commit b9b10f79f6
2 changed files with 13 additions and 2 deletions

View File

@ -153,7 +153,7 @@
</div>
</el-tooltip>
<template v-if="styleForm.textAlign">
<div class="m-divider"></div>
<div class="m-divider" :class="'custom-divider-' + themes"></div>
<el-tooltip effect="dark" placement="bottom">
<template #content>
{{ t('chart.text_pos_left') }}
@ -466,6 +466,14 @@ watch(
height: 18px;
background: rgba(31, 35, 41, 0.15);
}
.custom-divider-light {
background-color: rgba(31, 35, 41, 0.15);
}
.custom-divider-dark {
background-color: #757575;
}
.form-item {
&.no-margin-bottom {
margin-bottom: 0 !important;

View File

@ -1,5 +1,8 @@
<template>
<div style="width: 100%; height: 100%; display: flex; align-items: center">
<div
style="width: 100%; height: 100%; display: flex; align-items: center"
:style="{ 'justify-content': element.style.textAlign }"
>
<p>{{ state.nowDate }}</p>
</div>
</template>