fix(视图): 修复标题不能调整位置的问题

This commit is contained in:
junjun 2022-11-01 10:42:49 +08:00
parent 1feda5cc47
commit 6185ea544d
5 changed files with 9 additions and 9 deletions

View File

@ -18,11 +18,11 @@
:style="title_class"
style="cursor: default;display: block;"
>
<div style="padding:6px 4px 0;margin: 0;display: flex;">
<div style="padding:6px 4px 0;margin: 0;">
<chart-title-update :chart-info="chartInfo" />
<title-remark
v-if="remarkCfg.show"
style="text-shadow: none!important;"
style="text-shadow: none!important;margin-left: 4px;"
:remark-cfg="remarkCfg"
/>
</div>

View File

@ -18,11 +18,11 @@
:style="title_class"
style="cursor: default;display: block;"
>
<div style="padding:6px 4px 0;margin: 0;display: flex;">
<div style="padding:6px 4px 0;margin: 0;">
<chart-title-update :chart-info="chartInfo" />
<title-remark
v-if="remarkCfg.show"
style="text-shadow: none!important;"
style="text-shadow: none!important;margin-left: 4px;"
:remark-cfg="remarkCfg"
/>
</div>

View File

@ -11,7 +11,7 @@
/>
<p
v-else
style="overflow: hidden;white-space: pre;text-overflow: ellipsis;display: inline-block;min-width: 30px"
style="overflow: hidden;white-space: pre;text-overflow: ellipsis;display: inline;min-width: 30px"
@click.stop="handleTitleEditer"
>{{ chart.title }}</p>
</template>

View File

@ -10,11 +10,11 @@
:style="title_class"
style="cursor: default;display: block;"
>
<div style="display: flex;">
<div>
<chart-title-update :chart-info="chartInfo" />
<title-remark
v-if="chart.render && chart.render === 'antv' && remarkCfg.show"
style="text-shadow: none!important;"
style="text-shadow: none!important;margin-left: 4px;"
:remark-cfg="remarkCfg"
/>
</div>

View File

@ -17,11 +17,11 @@
:style="title_class"
style="cursor: default;display: block;"
>
<div style="display: flex;">
<div>
<chart-title-update :chart-info="chartInfo" />
<title-remark
v-if="chart.render && chart.render === 'antv' && remarkCfg.show"
style="text-shadow: none!important;"
style="text-shadow: none!important;margin-left: 4px;"
:remark-cfg="remarkCfg"
/>
</div>