Repository navigation
Legend rows keep their height, line swatches show the map's widths - #2
Merged
Merged
Conversation
A host that gives the list a fixed height (the styleeditor's flex column) squeezed the `auto` rows down to the cells' min-height, and symbols with their names ran into the neighbouring rows. `grid-auto-rows: max-content` keeps every row as tall as its content; the list scrolls instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every line swatch used to be scaled on its own to a 16 px stroke, so at high zoom all wide roads looked equally wide. Strokes up to 30 px are now drawn as wide as on the map, the swatch growing taller around the centred curve; wider stacks are scaled down with one scale for all lines of a group (the widest decides), so the lines keep their widths relative to each other. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two fixes for high zoom levels, each with its own changeset (patch → 1.0.2):
autogrid rows to the cells' min-height, so POI symbols with their names overlapped.grid-auto-rows: max-content; the list scrolls instead.Checked in the styleeditor at Wien Praterstern (z17.5 and z19): no overlaps, major 25.1 px / minor 17.4 px as on the map at z17.5; at z19 the major road hits 30 px and the group scale applies.
🤖 Generated with Claude Code