diff --git a/frontend/components/dashboard/chart/DashboardChartSummaryChart.vue b/frontend/components/dashboard/chart/DashboardChartSummaryChart.vue index bbddf293e..6e632b98d 100644 --- a/frontend/components/dashboard/chart/DashboardChartSummaryChart.vue +++ b/frontend/components/dashboard/chart/DashboardChartSummaryChart.vue @@ -1,11 +1,15 @@ @@ -615,6 +623,7 @@ const onMouseMove = (e: MouseEvent) => { class="chart" :option autoresize + @zr:mouseup="onMouseUp" @datazoom="onDatazoom" /> { max-width: 200px; @media (max-width: 1000px) { - max-width: 90px; + max-width: min-content } } :deep(> .p-dropdown) { diff --git a/frontend/components/dashboard/chart/SummaryChartTooltip.vue b/frontend/components/dashboard/chart/SummaryChartTooltip.vue index 14af9cc2f..cf415e7e9 100644 --- a/frontend/components/dashboard/chart/SummaryChartTooltip.vue +++ b/frontend/components/dashboard/chart/SummaryChartTooltip.vue @@ -59,6 +59,7 @@ defineProps() border: 1px transparent solid; line-height: 1.5; padding: var(--padding); + max-height: 18.75rem; .line-container { display: flex; diff --git a/frontend/components/dashboard/chart/TooltipHeader.vue b/frontend/components/dashboard/chart/TooltipHeader.vue index bfc4d935d..4422dbdba 100644 --- a/frontend/components/dashboard/chart/TooltipHeader.vue +++ b/frontend/components/dashboard/chart/TooltipHeader.vue @@ -101,7 +101,8 @@ const title = computed(() => { - {{ title }} {{ dateText }} + {{ title }} + {{ dateText }} {{ t("common.epoch") }} {{ epochText }}