Key events on edge of chart visible

Этот коммит содержится в:
Maarten 2024-10-17 21:45:13 +02:00
родитель af1de24809
Коммит f7e548906b

Просмотреть файл

@ -267,12 +267,12 @@
</svg>
</div>
<svg {width} height={height / 2}>
<svg class="key-events-svg" {width} height={height / 2}>
{#if xScale}
<g transform={`translate(${marginsKeyEvents.left},${marginsKeyEvents.top})`}>
<line
x1={0}
x2={width}
x2={width - marginsKeyEvents.left}
y1={32}
y2={32}
style:stroke={keyEventColor}
@ -340,4 +340,7 @@
.y-tick {
font-size: 0.9rem;
}
.key-events-svg {
overflow: visible;
}
</style>