traewelling icon indicating copy to clipboard operation
traewelling copied to clipboard

Single-Digit Line Numbers

Open mtwente opened this issue 3 weeks ago • 1 comments

Are you sure this is not a data issue?

  • [x] Yes, this is a Traewelling software bug (not a data issue).

Affected URL (if any)

https://traewelling.de/status/6479431

Describe the problem

After #4163, the route number looks fine again. However, I noticed an issue with single-digit line numbers. These are now left-aligned and thus not centered in the LineIndicator shape.

Image Image Image Image

Steps to reproduce

See for example:

  • https://traewelling.de/status/6479431
  • https://traewelling.de/status/6479359

Seems to be for single-digit lines only, all other look fine to me.

Expected behavior

I expect the number of the line to be centered within the LineIndicator shape.

Environment

MacOS, Brave Browser 1.84.141

Browser console / error messages (optional)


Additional info (optional)

No response

mtwente avatar Dec 04 '25 14:12 mtwente