make popup text size larger
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m45s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m45s
This commit is contained in:
@@ -212,26 +212,26 @@ function formatValue(key, val) {
|
|||||||
<!-- Tooltip -->
|
<!-- Tooltip -->
|
||||||
<g v-if="hovered !== null && points[hovered]">
|
<g v-if="hovered !== null && points[hovered]">
|
||||||
<rect
|
<rect
|
||||||
:x="Math.min(points[hovered].x + 4, W - 60)"
|
:x="Math.min(points[hovered].x + 4, W - 70)"
|
||||||
:y="points[hovered].y - 16"
|
:y="points[hovered].y - 18"
|
||||||
width="58"
|
width="68"
|
||||||
height="20"
|
height="25"
|
||||||
fill="var(--bg_primary)"
|
fill="var(--bg_primary)"
|
||||||
:stroke="activeMetric.color"
|
:stroke="activeMetric.color"
|
||||||
stroke-width="0.5"
|
stroke-width="0.5"
|
||||||
rx="1"
|
rx="1"
|
||||||
/>
|
/>
|
||||||
<text
|
<text
|
||||||
:x="Math.min(points[hovered].x + 7, W - 57)"
|
:x="Math.min(points[hovered].x + 7, W - 67)"
|
||||||
:y="points[hovered].y - 7"
|
:y="points[hovered].y - 6"
|
||||||
font-size="5.5"
|
font-size="8"
|
||||||
fill="var(--secondary)"
|
fill="var(--secondary)"
|
||||||
font-family="var(--font_heading)"
|
font-family="var(--font_heading)"
|
||||||
>{{ points[hovered].date.toLocaleDateString("en-GB", { day: "numeric", month: "short", year: "2-digit" }) }}</text>
|
>{{ points[hovered].date.toLocaleDateString("en-GB", { day: "numeric", month: "short", year: "2-digit" }) }}</text>
|
||||||
<text
|
<text
|
||||||
:x="Math.min(points[hovered].x + 7, W - 57)"
|
:x="Math.min(points[hovered].x + 7, W - 67)"
|
||||||
:y="points[hovered].y + 1"
|
:y="points[hovered].y + 4"
|
||||||
font-size="6"
|
font-size="9"
|
||||||
:fill="activeMetric.color"
|
:fill="activeMetric.color"
|
||||||
font-family="var(--font_heading)"
|
font-family="var(--font_heading)"
|
||||||
>{{ formatValue(metric, points[hovered].value) }}</text>
|
>{{ formatValue(metric, points[hovered].value) }}</text>
|
||||||
|
|||||||
Reference in New Issue
Block a user