diff --git a/lib/components/percentPond/src/main.css b/lib/components/percentPond/src/main.css index 8406aae..82f8458 100644 --- a/lib/components/percentPond/src/main.css +++ b/lib/components/percentPond/src/main.css @@ -1,7 +1,15 @@ .dv-percent-pond { + position: relative; display: flex; flex-direction: column; } +.dv-percent-pond svg { + position: absolute; + left: 0px; + top: 0px; + width: 100%; + height: 100%; +} .dv-percent-pond polyline { transition: all 0.3s; } diff --git a/lib/components/percentPond/src/main.vue b/lib/components/percentPond/src/main.vue index 6d8bd4f..dd45060 100644 --- a/lib/components/percentPond/src/main.vue +++ b/lib/components/percentPond/src/main.vue @@ -4,13 +4,13 @@ diff --git a/src/components/percentPond/src/main.vue b/src/components/percentPond/src/main.vue index 7105267..86edadc 100644 --- a/src/components/percentPond/src/main.vue +++ b/src/components/percentPond/src/main.vue @@ -4,13 +4,13 @@ @@ -254,9 +254,18 @@ export default {