From a9f4fdd5ec08f8a19bd46645dd0ef364e3c73d03 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Tue, 21 Jun 2022 15:26:32 +0800 Subject: [PATCH] update timeline --- src/styles/reset.scss | 14 +++++++ src/views/dashboard/data.ts | 2 +- src/views/dashboard/related/event/Content.vue | 37 ++++++++++--------- 3 files changed, 34 insertions(+), 19 deletions(-) diff --git a/src/styles/reset.scss b/src/styles/reset.scss index 9a95d713..a712991e 100644 --- a/src/styles/reset.scss +++ b/src/styles/reset.scss @@ -154,3 +154,17 @@ pre { .switch { margin: 0 5px; } + +div.vis-tooltip { + max-width: 600px; + overflow: hidden; + background-color: #fff !important; + + div { + word-wrap: break-word !important; + } +} + +.vis-item { + cursor: pointer; +} diff --git a/src/views/dashboard/data.ts b/src/views/dashboard/data.ts index a69198a9..12424ab3 100644 --- a/src/views/dashboard/data.ts +++ b/src/views/dashboard/data.ts @@ -15,7 +15,7 @@ * limitations under the License. */ export const dragIgnoreFrom = - "svg.d3-trace-tree, .dragger, .micro-topo-chart, .schedules"; + "svg.d3-trace-tree, .dragger, .micro-topo-chart, .schedules, .vis-item"; export const PodsChartTypes = ["EndpointList", "InstanceList"]; diff --git a/src/views/dashboard/related/event/Content.vue b/src/views/dashboard/related/event/Content.vue index be545aad..720799cb 100644 --- a/src/views/dashboard/related/event/Content.vue +++ b/src/views/dashboard/related/event/Content.vue @@ -18,7 +18,7 @@ limitations under the License. -->