Re-introduce visible SVG overflow. Add electrification type to electrificationChange component.

Begin route 0230 (Swindon Jn - Standish Jn
This commit is contained in:
2026-02-12 16:28:13 +00:00
parent cff62fa343
commit 6232277de1
3 changed files with 120 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ a {
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
overflow: visible;
}

View File

@@ -37,13 +37,13 @@
<g font-family="sans-serif" font-size="10" font-weight="800" text-anchor="start">
{#if showFromEco}
<text x="75" y="24" fill="#b91c1c" style="text-transform: uppercase;">
ECO: {feature.from.eco}
ECO: {feature.from.eco} | Type: {feature.from.elec}
</text>
{/if}
{#if showToEco}
<text x="75" y="48" fill="#b91c1c" style="text-transform: uppercase;">
ECO: {feature.to.eco}
ECO: {feature.to.eco} | Type: {feature.from.elec}
</text>
{/if}
</g>