Key events on edge of chart visible

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

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

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