forked from github/dataease
style(仪表板): 编辑区样式调整
This commit is contained in:
parent
1fd19daced
commit
b9b10f79f6
@ -153,7 +153,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<template v-if="styleForm.textAlign">
|
<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">
|
<el-tooltip effect="dark" placement="bottom">
|
||||||
<template #content>
|
<template #content>
|
||||||
{{ t('chart.text_pos_left') }}
|
{{ t('chart.text_pos_left') }}
|
||||||
@ -466,6 +466,14 @@ watch(
|
|||||||
height: 18px;
|
height: 18px;
|
||||||
background: rgba(31, 35, 41, 0.15);
|
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 {
|
.form-item {
|
||||||
&.no-margin-bottom {
|
&.no-margin-bottom {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
<template>
|
<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>
|
<p>{{ state.nowDate }}</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user