Re-introduce visible SVG overflow. Add electrification type to electrificationChange component.
Begin route 0230 (Swindon Jn - Standish Jn
This commit is contained in:
@@ -90,7 +90,7 @@ a {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user